Skip to content

Commit 3c3b830

Browse files
author
Martin Smeeckaert
committed
fix doc
1 parent 8cdeaef commit 3c3b830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ $text = '<p><b>HyperText Markup Language</b>, commonly referred to as <b>HTML</b
5757

5858
echo String::truncateHtml($text, 3); // "<b>HyperText</b>"
5959
echo String::truncateHtml($text, 12, ''); // "HyperText Markup"
60-
echo String::truncateHtml($text, 50, '', '...); // "HyperText Markup Language, commonly referred to as..."
60+
echo String::truncateHtml($text, 50, '', '...'); // "HyperText Markup Language, commonly referred to as..."
6161
echo String::truncateHtml($text, 75, '<b><i><u><em><strong><a><span>', '...'); // '<b>HyperText Markup Language</b>, commonly referred to as <b>HTML</b>, is the standard <a href="/wiki/Markup_language" title="Markup language">markup...</a>'
6262

6363
```

0 commit comments

Comments
 (0)