Title: Sanitizing HTML in Users&#8217; Comments
Last modified: August 19, 2016

---

# Sanitizing HTML in Users’ Comments

 *  [ex272](https://wordpress.org/support/users/ex272/)
 * (@ex272)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/sanitizing-html-in-users-comments/)
 * Hi,
 * I’d like to know how I should handle comments with broken or incomplete HTML 
   so that they don’t rend my pages.
 * `e.g. <b`
 * I prefer to keep HTML enabled for my readers, and an automatic solution would
   be best. I suspect there may be a built in feature or plugin that handles this,
   but for the life of me can’t find anything out there of relevance to the subject
   matter.
 * Thanks

The topic ‘Sanitizing HTML in Users’ Comments’ is closed to new replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [sanitize](https://wordpress.org/support/topic-tag/sanitize/)
 * [validate](https://wordpress.org/support/topic-tag/validate/)

 * 0 replies
 * 1 participant
 * Last reply from: [ex272](https://wordpress.org/support/users/ex272/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/sanitizing-html-in-users-comments/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
