You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -57,6 +66,7 @@ public function humanizeStringProvider()
57
66
}
58
67
59
68
/**
69
+
*
60
70
* @return array
61
71
*/
62
72
publicfunctiontruncateStringProvider()
@@ -84,6 +94,10 @@ public function truncateStringProvider()
84
94
);
85
95
}
86
96
97
+
/**
98
+
*
99
+
* @return array
100
+
*/
87
101
publicfunctiontruncateHtmlStringProvider()
88
102
{
89
103
$text = '<p><b>HyperText Markup Language</b>, commonly referred to as <b>HTML</b>, is the standard <a href="/wiki/Markup_language" title="Markup language">markup language</a> used to create <a href="/wiki/Web_page" title="Web page">web pages</a>.<sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span>[</span>1<span>]</span></a></sup> <a href="/wiki/Web_browser" title="Web browser">Web browsers</a> can read HTML files and render them into visible or audible web pages. HTML describes the structure of a <a href="/wiki/Website" title="Website">website</a> <a href="/wiki/Semantic" title="Semantic" class="mw-redirect">semantically</a> along with cues for presentation, making it a markup language, rather than a <a href="/wiki/Programming_language" title="Programming language">programming language</a>.</p>';
@@ -104,4 +118,4 @@ public function truncateHtmlStringProvider()
104
118
array($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>', '...')
0 commit comments