Index: trunk/extensions/CodeReview/backend/DiffHighlighter.php |
— | — | @@ -37,6 +37,7 @@ |
38 | 38 | * @return string |
39 | 39 | */ |
40 | 40 | function colorLine( $line ) { |
| 41 | + if( $line == '' ) return ""; // don't create bogus spans |
41 | 42 | list( $element, $attribs ) = $this->tagForLine( $line ); |
42 | 43 | return Xml::element( $element, $attribs, $line ); |
43 | 44 | } |