[wp-hackers] Bug when post title contains > and "
speedboxer at gmail.com
Sat Mar 17 20:02:12 GMT 2007
I tested it on the latest SVN from /branches/2.1/ and the problem is still
there. But, the_title_rss() does correct it. I don't see anything wrong with
using the_title_rss() in place of the_title() on the index (since it'll
still be in the loop). The only thing is, the_title_rss() doesn't have
before and after strings, but most themes don't use those (that I've seen,
But, what is really need is a function that will strip out HTML for output
to title or alt tags.
On 3/17/07, Elliotte Harold <elharo at metalab.unc.edu> wrote:
> Robin Adrianse wrote:
> > Can you reproduce this in the SVN trunk (2.2) or 2.1?
> I do more development on my production server than I'm comfortable with
> already. :-)
> However it's not hard to test if anyone is running the latest RC or
> trunk. Just create a new post using the default theme with this title:
> A <strong style="color: green">Strong</strong> Test for Markup In Titles
> & Summaries
> See what happens.
> Elliotte Rusty Harold elharo at metalab.unc.edu
> Java I/O 2nd Edition Just Published!
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
Matt (speedboxer at gmail.com)
More information about the wp-hackers