r55078 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55077‎ | r55078 | r55079 >
Date:03:30, 15 August 2009
Author:aaron
Status:ok
Tags:
Comment:
html fix, may help bug 18987
Modified paths:
  • /trunk/extensions/CodeReview/backend/DiffHighlighter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/backend/DiffHighlighter.php
@@ -37,6 +37,7 @@
3838 * @return string
3939 */
4040 function colorLine( $line ) {
 41+ if( $line == '' ) return ""; // don't create bogus spans
4142 list( $element, $attribs ) = $this->tagForLine( $line );
4243 return Xml::element( $element, $attribs, $line );
4344 }

Status & tagging log