Ticket #4379: kses-iacute.diff
| File kses-iacute.diff, 510 bytes (added by , 17 years ago) |
|---|
-
wp-includes/kses.php
740 740 */ 741 741 function wp_kses_bad_protocol($string, $allowed_protocols) { 742 742 $string = wp_kses_no_null($string); 743 $string = str_replace("\xc3\xad", 'i', $string); # do not break í with the next replacement 743 744 $string = preg_replace('/\xad+/', '', $string); # deals with Opera "feature" 744 745 $string2 = $string.'a'; 745 746