Quotes not escaped in title attribute

  • Author
    Posts
  • #5753

    raster
    Member

    Can we post bugs here? Ok, I will…

    Create a post, and use quotes in the title, something like:

    HTML “Error” eh?

    Save the post.

    Go to the home page of your WordPress.com blog, and attempt to validate the markup.

    It won’t. This is what was output:

    <a href="http://raster.wordpress.com/2006/03/02/html-error-eh/#comments" title="Comment on HTML "Error" eh?">[3] Comments</a>

    It should be like so:

    <a href="http://raster.wordpress.com/2006/03/02/html-error-eh/#comments" title="Comment on HTML “Error” eh?">[3] Comments</a>

    Which is what happens on the individual post page, but not on the home page.

    Thanks!

    #5957

    raster
    Member

    Crap, of course it got eaten a bit…

    Second example should be like so:

    <a href="http://raster.wordpress.com/2006/03/02/html-error-eh/#comments" title="Comment on HTML “Error” eh?">[3] Comments</a>

    (Just in case, that’s & # 8220; and & # 8221; around the word Error, minus the spaces.)

    #5958

    raster
    Member

    Argh! Third Try…

    Second example should be like so:

    <a href="http://raster.wordpress.com/2006/03/02/html-error-eh/#comments" title="Comment on HTML &amp;#8220;Error&amp;#8221; eh?">[3] Comments</a>

    #5959

    raster
    Member

    I give up, you get the idea…

    #5969

    wank
    Member

    Did you send a feedback about this? If not, you should — while the developers drop in here occasionally, they do promise to read every feedback sent and bugs stand a much better chance of getting fixed if reported that way.

    (If you already sent a feedback, thanks.)

The topic ‘Quotes not escaped in title attribute’ is closed to new replies.