Post title XHTML validation error
-
So, I upgraded to WordPress 2.0, everything looks good so far, but some XHTML validation error that does not happen before happen now, which is kinda annoying.
First of all, post title is not properly parsed. I have a post which title is “Bold&Delicious”, and it gives me validation error when I try to validate my post. Obviously, WP2 do not change & into “& amps;”. Also, another post title called “YUI’s “LIFE”” gives me validation error when it is rendered by the theme as ” title=”YUI’s “LIFE”” “, see how it works?
These problems are not found in WP1.5, so is this a bug for WP2.0? I’m thinking of adding htmlentities or htmlspecialchars to $title in “template-function-post.php” in order to fix this problem, any suggestion?
Thanks for the feedback, much appreciated!
- The topic ‘Post title XHTML validation error’ is closed to new replies.