Title: html code in comments
Last modified: August 18, 2016

---

# html code in comments

 *  [Dextro](https://wordpress.org/support/users/dextro/)
 * (@dextro)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/html-code-in-comments/)
 * How can I make it possible to let users put some html code in the comments?
 * So if it is inside the < code > tags, the code should be displayed, not rendered,
   just like the `backticks` here.

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

 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/html-code-in-comments/#post-215863)
 * An automatic way:
    [http://www.coffee2code.com/archives/2005/03/29/plugin-preserve-code-formatting/](http://www.coffee2code.com/archives/2005/03/29/plugin-preserve-code-formatting/)
 *  Thread Starter [Dextro](https://wordpress.org/support/users/dextro/)
 * (@dextro)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/html-code-in-comments/#post-215899)
 * thx, that’s indeed what i’m looking for.
    But it doesn’t work very wel. `<h1>`
   tags are still parsed.

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

The topic ‘html code in comments’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Dextro](https://wordpress.org/support/users/dextro/)
 * Last activity: [20 years, 12 months ago](https://wordpress.org/support/topic/html-code-in-comments/#post-215899)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
