Skip to content

Commit 252a7f4

Browse files
committed
Fix strip_tags examples (Travis-indicated issue)
1 parent 0349706 commit 252a7f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/strings/strip_tags.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ function strip_tags(input, allowed) {
2222
// * example 2: strip_tags('<p>Kevin <img src="someimage.png" onmouseover="someFunction()">van <i>Zonneveld</i></p>', '<p>');
2323
// * returns 2: '<p>Kevin van Zonneveld</p>'
2424
// * example 3: strip_tags("<a href='http://kevin.vanzonneveld.net'>Kevin van Zonneveld</a>", "<a>");
25-
// * returns 3: '<a href="http://kevin.vanzonneveld.net">Kevin van Zonneveld</a>'
25+
// * returns 3: "<a href='http://kevin.vanzonneveld.net'>Kevin van Zonneveld</a>"
2626
// * example 4: strip_tags('1 < 5 5 > 1');
2727
// * returns 4: '1 < 5 5 > 1'
2828
// * example 5: strip_tags('1 <br/> 1');
2929
// * returns 5: '1 1'
3030
// * example 6: strip_tags('1 <br/> 1', '<br>');
31-
// * returns 6: '1 1'
31+
// * returns 6: '1 <br/> 1'
3232
// * example 7: strip_tags('1 <br/> 1', '<br><br/>');
3333
// * returns 7: '1 <br/> 1'
3434

0 commit comments

Comments
 (0)