Title: HTML Causing Issues in Comments
Last modified: August 18, 2016

---

# HTML Causing Issues in Comments

 *  [sithicus](https://wordpress.org/support/users/sithicus/)
 * (@sithicus)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/html-causing-issues-in-comments/)
 * When someone uses html like an em tag or a blockquote tag in my word press comments
   it will sometimes break the rest of the site. Basically it doesn’t close the 
   tag.. (even if it is closed) I know if happens for sure if someone uses a blockquote
   at the beginning of a comment. Also line breaks all seem to run together in comments.
   Anybody know why this might be happening? [http://www.chrisvschris.com](http://www.chrisvschris.com)
   is the blog

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [skippy](https://wordpress.org/support/users/skippy/)
 * (@skippy)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/html-causing-issues-in-comments/#post-256853)
 * Can you point to a specific post on which this occurs?
 *  Thread Starter [sithicus](https://wordpress.org/support/users/sithicus/)
 * (@sithicus)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/html-causing-issues-in-comments/#post-256963)
 * On the front page. On the right hand side is the last 10 comments. You can see
   the the second to last comment causes the whole site to be _ed_
 *  Thread Starter [sithicus](https://wordpress.org/support/users/sithicus/)
 * (@sithicus)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/html-causing-issues-in-comments/#post-256964)
 * em’ed even
 *  Thread Starter [sithicus](https://wordpress.org/support/users/sithicus/)
 * (@sithicus)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/html-causing-issues-in-comments/#post-256965)
 * Here is the code:
    ` <li class="christopher_comment" id="comment-1434"> <div 
   class="comment"> <div class="gravatar-wrap"><img src="http://www.gravatar.com/
   avatar.php?gravatar_id=6fb1850b952597d2784d25636fd9ec7b&amp;size=40" alt="" class
   ="gravatar" /> </div> <div class="comment-posted"> <h3 class="commentauthor">
   <a href='http://' rel='external nofollow'>Christopher</a> commented: </h3> <p
   class="comment-link"><a href="#comment-1434" title="">September 1st, 2005 at 
   4:44 am</a> <a href='http://www.chrisvschris.com/wp/wp-admin/post.php?action=
   editcomment&amp;comment=1434'>edit</a> </p> </div> <div class="comment-text">
   <p> <p><em>It was mostly copying word for word. Not a commentary.</em> </p></
   p> </div> </div> </li>
 * Somehow this comment breaks the whole site.
 *  [oriecat](https://wordpress.org/support/users/oriecat/)
 * (@oriecat)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/html-causing-issues-in-comments/#post-256978)
 * Looks to me like the problem is that the sidebar is only including the first 
   so many words or characters of the comment, so the closing `</em>` isn’t included.
 *  Thread Starter [sithicus](https://wordpress.org/support/users/sithicus/)
 * (@sithicus)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/html-causing-issues-in-comments/#post-256981)
 * ahh good point. anybody got any thoughts on how I might fix this? these is probaby
   a compliated way to write a script that closes any html that is open eh?
 *  Thread Starter [sithicus](https://wordpress.org/support/users/sithicus/)
 * (@sithicus)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/html-causing-issues-in-comments/#post-256988)
 * I’m using Comment Analysis plugin.. maybe there would be a way to strip html 
   from the output?

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘HTML Causing Issues in Comments’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 3 participants
 * Last reply from: [sithicus](https://wordpress.org/support/users/sithicus/)
 * Last activity: [20 years, 8 months ago](https://wordpress.org/support/topic/html-causing-issues-in-comments/#post-256988)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
