A Strong Test for Markup In Titles & Summaries
Saturday, March 17th, 2007I’ve been hacking on Benjamin Smedberg’s Atom 1.0 plug-in for WordPress. I’ve added a preference panel for choosing between full text and summary feeds. Now I’ve fixed the double escaping of content in titles and summaries. (Escaped HTML is evil and should never have been allowed into Atom.)
However I’m not sure how my hack will react when posts contain markup in titles and summaries so I’m playing with that now. Hence this post. I may delete it once I’m convinced I’ve covered the various special cases well enough.
Things may look a little funny in the feed until I’m done since I’ll be deliberately breaking things to see how WordPress behaves.
(more…)