File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
lib/jblond/Diff/Renderer/Html Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ private function getChangeExtent($fromLine, $toLine)
218
218
/**
219
219
* Format a series of lines suitable for output in a HTML rendered diff.
220
220
* This involves replacing tab characters with spaces, making the HTML safe
221
- * for output, ensuring that double spaces are replaced with   ; etc.
221
+ * for output, ensuring that double spaces are replaced with   ; etc.
222
222
*
223
223
* @param array $lines Array of lines to format.
224
224
* @return array Array of the formatted lines.
@@ -236,7 +236,7 @@ protected function formatLines($lines)
236
236
}
237
237
238
238
/**
239
- * Replace a string containing spaces with a HTML representation using   ;.
239
+ * Replace a string containing spaces with a HTML representation using   ;.
240
240
*
241
241
* @param array $matches The string of spaces.
242
242
* @return string The HTML representation of the string.
@@ -252,7 +252,7 @@ protected function fixSpaces($matches)
252
252
}
253
253
$ div = floor ($ count / 2 );
254
254
$ mod = $ count % 2 ;
255
- $ buffer .= str_repeat ('  ; ' , $ div ).str_repeat ('  ' , $ mod );
255
+ $ buffer .= str_repeat ('  ; ' , $ div ).str_repeat ('  ' , $ mod );
256
256
}
257
257
258
258
$ div = floor ($ count / 2 );
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public function testRenderFixesSpaces()
49
49
'base ' => array (
50
50
'offset ' => 0 ,
51
51
'lines ' => array (
52
- '<del>  ;   ;</del>a ' ,
52
+ '<del>  ;   ;</del>a ' ,
53
53
)
54
54
),
55
55
'changed ' => array (
You can’t perform that action at this time.
0 commit comments