Skip to content

Commit a58dba8

Browse files
committed
Fixed bug in strip_tags
1 parent 7e2652a commit a58dba8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

functions/strings/htmlentities.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ function htmlentities (string, quote_style) {
99
// - depends on: get_html_translation_table
1010
// * example 1: htmlentities('Kevin & van Zonneveld');
1111
// * returns 1: 'Kevin & van Zonneveld'
12+
// * example 2: htmlentities("foo'bar","ENT_QUOTES");
13+
// * returns 2: 'foo'bar'
1214

1315
var histogram = {}, symbol = '', tmp_str = '', entity = '';
1416
tmp_str = string.toString();

0 commit comments

Comments
 (0)