Skip to content

Commit b7b3ded

Browse files
committedMar 18, 2021
-
1 parent 5c4dd60 commit b7b3ded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Renderers/SpanNodeRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function literal(string $text): string
6767
// some browsers can't break long <code> properly, so we inject a
6868
// `<wbr>` (word-break HTML tag) after some characters to help break those
6969
// We only do this for very long <code> (4 or more \\) to not break short
70-
// and common `<code> such as App\Entity\Something
70+
// and common `<code>` such as App\Entity\Something
7171
if (substr_count($text, '\\') >= 4) {
7272
// breaking before the backslask is what Firefox browser does
7373
$text = str_replace('\\', '<wbr>\\', $text);

0 commit comments

Comments
 (0)
Please sign in to comment.