![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: Bug #40637 (strip_tags() does not handle single quotes correctly) 3: --FILE-- 4: <?php 5: 6: $html = '<span title="Bug \' Trigger">Text</span>'; 7: var_dump(strip_tags($html)); 8: 9: echo "Done\n"; 10: ?> 11: --EXPECTF-- 12: string(4) "Text" 13: Done