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 4180e7c commit d78904aCopy full SHA for d78904a
example/demo_web.php
@@ -57,7 +57,7 @@
57
$newString,
58
'Inline',
59
$diffOptions,
60
- ['detailLevel' => 'line'] + $rendererOptions
+ ['detailLevel' => 'line'] + $rendererOptions,
61
);
62
63
echo $inlineResult;
src/Renderer/Html/AbstractHtml.php
@@ -333,7 +333,7 @@ protected function htmlFixSpaces(string $string): string
333
*/
334
protected function htmlReplaceSpacesToHtmlTag(string $string): string
335
{
336
- return strtr($string, [
+ return \strtr($string, [
337
' ' => '<span class="ch sp"> </span>',
338
"\t" => "<span class=\"ch tab\">\t</span>",
339
]);
0 commit comments