On 12/1/05, Sean Hayford O'Leary <[EMAIL PROTECTED]> wrote:
> It's easy to fix (and I apologise -- I'm not comfortable enough with Trac to
> submit it there). Around line 18 in wp-includes/functions-formatting.php,
> add:
>
>    $curl = str_replace('"', '&#8220;', $curl);
>    $curl = str_replace('"', '&#8221;', $curl);
>    $curl = str_replace('' ', '&#8216;', $curl);
>    $curl = str_replace('' ', '&#8217;', $curl);
>    $curl = str_replace('… ', '&#8230;', $curl);
>    $curl = str_replace(' –', '&#8212;', $curl);

Would the PHP function "htmlentities()" accomplish the same thing?
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to