Entity fix for WordPress

Written at evening time • Tags:

I was having trouble with ½ and ¾ in an article I was trying to publish on another WordPress-powered site. First I thought my browser was acting up, but soon became doubtful and realized I should look at the source of the page generated by WordPress. To my surprise I saw that the entity codes had been deliberately mangled.

I tracked down the source of the problem in the WordPress code. This patch fixes the problem.

3 comments

  • 1

    [...] I finally got around to upgrading my WordPress blog software to version 1.5.2 today. I also took this opportunity to apply Kimmo’s entity patch, which takes care of ½ (½) and ¾ (¾) HTML entities, and probably some others as well. [...]

    SonicChicken weblog » Blog Archive » Upgraded to WordPress 1.5.2, patches [re-]applied — 2.9.05 @ 6:49

  • 2

    Hey Kimmo,

    I stopped by to check out the pingback I sent (above), and I noticed something very interesting. In my original post, I don’t have <acronym> tags around “HTML”, but here on your site it has automagically(?) been wrapped in such. Do you have some sort of plugin for this?

    TIA, Jim

    Jim — 2.9.05 @ 20:46

  • 3

    Hi Jim — I’m using the Acronym Replacer plugin by Joel Bennett.

    Kimmo — 3.9.05 @ 14:56

Sorry, commenting is not available for this post.