File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ function strip_tags(input, allowed) {
22
22
// * example 2: strip_tags('<p>Kevin <img src="someimage.png" onmouseover="someFunction()">van <i>Zonneveld</i></p>', '<p>');
23
23
// * returns 2: '<p>Kevin van Zonneveld</p>'
24
24
// * 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>"
26
26
// * example 4: strip_tags('1 < 5 5 > 1');
27
27
// * returns 4: '1 < 5 5 > 1'
28
28
// * example 5: strip_tags('1 <br/> 1');
29
29
// * returns 5: '1 1'
30
30
// * example 6: strip_tags('1 <br/> 1', '<br>');
31
- // * returns 6: '1 1'
31
+ // * returns 6: '1 <br/> 1'
32
32
// * example 7: strip_tags('1 <br/> 1', '<br><br/>');
33
33
// * returns 7: '1 <br/> 1'
34
34
You can’t perform that action at this time.
0 commit comments