We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da094da commit cfa1c89Copy full SHA for cfa1c89
tools/code_samples/code_samples_usage_diff2html.php
@@ -33,7 +33,7 @@
33
continue;
34
}
35
$statusChar = strlen($diffLine) ? $diffLine[0] : '';
36
- $realLine = $str = substr($diffLine, 1);
+ $realLine = str_replace(['<', '>'], ['<', '>'], substr($diffLine, 1));
37
if ($previousStatusChar !== $statusChar) {
38
switch ("$previousStatusChar$statusChar") {
39
case ' +':
0 commit comments