Title: [Plugin: Recent Posts with Excerpts] Plugin still creates invalid HTML
Last modified: August 19, 2016

---

# [Plugin: Recent Posts with Excerpts] Plugin still creates invalid HTML

 *  [Ross Wintle](https://wordpress.org/support/users/magicroundabout/)
 * (@magicroundabout)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-recent-posts-with-excerpts-plugin-still-creates-invalid-html/)
 * Hello,
 * Just discovered your plugin creates invalid HTML! The title is:
 * `<h2><a href="...">Title</h2></a>`
 * It’s because you’re appending the link to `$after_title` incorrectly.
 * Can you change line 66 to:
 * `$after_title = '</a>' . $after_title;`

Viewing 1 replies (of 1 total)

 *  Thread Starter [Ross Wintle](https://wordpress.org/support/users/magicroundabout/)
 * (@magicroundabout)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-recent-posts-with-excerpts-plugin-still-creates-invalid-html/#post-2076328)
 * Can we get this tiny little bug fixed? I’ve just spent about 4-hours debugging
   it again, thinking it was an IE layout bug, but was actually a fresh install 
   of the plugin exhibiting this exact fault.
 * I’d do it myself if I could!!
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Recent Posts with Excerpts] Plugin still creates invalid HTML’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/recent-posts-with-excerpts.svg)
 * [Recent Posts with Excerpts](https://wordpress.org/plugins/recent-posts-with-excerpts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/recent-posts-with-excerpts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/recent-posts-with-excerpts/)
 * [Active Topics](https://wordpress.org/support/plugin/recent-posts-with-excerpts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/recent-posts-with-excerpts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/recent-posts-with-excerpts/reviews/)

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)
 * [invalid](https://wordpress.org/support/topic-tag/invalid/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 1 reply
 * 1 participant
 * Last reply from: [Ross Wintle](https://wordpress.org/support/users/magicroundabout/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-recent-posts-with-excerpts-plugin-still-creates-invalid-html/#post-2076328)
 * Status: not resolved