Title: Removing HTML from Comments
Last modified: September 12, 2016

---

# Removing HTML from Comments

 *  Resolved [mbransons](https://wordpress.org/support/users/mbransons/)
 * (@mbransons)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/removing-html-from-comments/)
 * Hey I’m running a [course site](http://ct101.us/) with my students on storytelling.
   I encourage them to use HTML in their comment replies, but it appears all users
   have HTML deleted except the admin (me).
 * This happens with comments for moderation, when logged in as an author, or as
   a previous commentor. Only the logged in admin does not have HTML stripped from
   comments.
 * Others posting text and HTML, will see the text in the posted comment, but not
   the HTML. And the comment log will leave the description, “Akismet cleared this
   comment.”
 * Akismet is up-to-date running version 3.2 and I noticed that this was an issue
   noted in the 3.1 update release.
 * Any thoughts, help is appreciated.
 * – Michael
    -  This topic was modified 9 years, 9 months ago by [mbransons](https://wordpress.org/support/users/mbransons/).
    -  This topic was modified 9 years, 9 months ago by [mbransons](https://wordpress.org/support/users/mbransons/).

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

 *  Plugin Contributor [Greg](https://wordpress.org/support/users/jgs/)
 * (@jgs)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/removing-html-from-comments/#post-8178454)
 * Akismet doesn’t modify comments in any way, is the HTML really being stripped,
   or just interpreted in the browser? You should be able to edit the comment to
   see the raw source.
 *  Thread Starter [mbransons](https://wordpress.org/support/users/mbransons/)
 * (@mbransons)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/removing-html-from-comments/#post-8178539)
 * Hey thanks for replying. It would surprise me if I’m on the wrong track, but 
   it was my first thought. Here’s a particular example with screenshots to illustrate.
   In my test, the image tag was removed and the italics tag actually remained.
 * ![](https://i0.wp.com/ct101.us/wp-content/uploads/2016/09/original-comment.png)
 * ![](https://i0.wp.com/ct101.us/wp-content/uploads/2016/09/published-comment.png)
 * ![](https://i0.wp.com/ct101.us/wp-content/uploads/2016/09/comment-source.png)
 *  Plugin Author [Christopher Finke](https://wordpress.org/support/users/cfinke/)
 * (@cfinke)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/removing-html-from-comments/#post-8178780)
 * By default, WordPress prevents non-admins from using most HTML tags when commenting.
   Allowed tags are:
 * `a, abbr, acronym, b, blockquote, cite, code, pre, del, em, i, q, strike, and
   strong`
 *  Thread Starter [mbransons](https://wordpress.org/support/users/mbransons/)
 * (@mbransons)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/removing-html-from-comments/#post-8178984)
 * Hey thanks for indulging me and pointing out the allowed tags. I edited the kses.
   php file and got it to work. Learned something today!

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

The topic ‘Removing HTML from Comments’ is closed to new replies.

 * ![](https://ps.w.org/akismet/assets/icon-256x256.png?rev=2818463)
 * [Akismet Anti-spam: Spam Protection](https://wordpress.org/plugins/akismet/)
 * [Support Threads](https://wordpress.org/support/plugin/akismet/)
 * [Active Topics](https://wordpress.org/support/plugin/akismet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/akismet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/akismet/reviews/)

## Tags

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

 * 4 replies
 * 3 participants
 * Last reply from: [mbransons](https://wordpress.org/support/users/mbransons/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/removing-html-from-comments/#post-8178984)
 * Status: resolved