What steps will reproduce the problem?
1. add html code (e.g. an <img />) to a post excerpt
2. publish post
3. view post
What is the expected output? What do you see instead?
All the excerpt should be contained withing the content="" of the meta tag.
Instead the "/>" makes it end early, and leaves orphaned text in the header.
What version of the product are you using? On what operating system?
0.8 on WP 2.7
Please provide any additional information below.
In header.php you could simply replace the_excerpt_rss(); with
htmlspecialchars( the_excerpt_rss() );. Even better you could strip html
tags from the excerpt before inserting it into the meta description.
Original issue reported on code.google.com by tpangb...@gmail.com on 5 Feb 2009 at 6:55
Original issue reported on code.google.com by
tpangb...@gmail.com
on 5 Feb 2009 at 6:55