WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Quote character ' not properly escaped in titles (6 posts)

  1. Anonymous
    Unregistered
    Posted 11 years ago #

    In .71, I'm having trouble with XHTML validation when quote characters are in the title. It doesn't appear to be escaping them properly with HTML entities.
    Keep up the good work ;)

  2. bdjohns1
    Member
    Posted 11 years ago #

    I'm seeing the same problem with my blog:
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.ben-johnson.org%2Fblog%2F
    The problem is manifesting itself both in the blog title and in individual posting titles.

  3. Anonymous
    Unregistered
    Posted 11 years ago #

    Me too. Apart from that it's the best blogging software I've ever seen

  4. Mike Little
    Member
    Posted 11 years ago #

    Folks,
    I have a temporary fix for this problem: in b2template.functions.php the function the_title() round about line 352, change
    echo convert_chars($before.$title.$after, 'html');
    into
    echo $before.$title.$after;
    Matt, I think this problem stems from the speed up changes in the convert_chars function. We need to look at what this code is (or isn't) doing.
    Hope this helps,
    Mike

  5. lucaramel
    Member
    Posted 11 years ago #

    I've tried this trick and it works well. There's one problem left though, to make my page valid : the Euro character isn't working. I mean, it displays OK, but the validator keeps yelling :(
    I've changed the charset in index.php to be iso8859-15, but it doesn't solve anything.
    Thanks for the previous anyway, and WordPress is really great.

  6. Matt Mullenweg
    Troublemaker
    Posted 11 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.