# Whitelisting HTML tags / attributes

**URL:** https://meta.discourse.org/t/whitelisting-html-tags-attributes/159653
**Category:** Support
**Created:** [August 3, 2020, 10:05am UTC](https://meta.discourse.org/t/whitelisting-html-tags-attributes/159653 "2020-08-03T10:05:47Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [August 3, 2020, 10:05am UTC](https://meta.discourse.org/t/whitelisting-html-tags-attributes/159653/1 "2020-08-03T10:05:47Z")

</div>

I vaguely remember that there was a way - using a site setting or a plugin - to add entries to the whitelist of allowed HTML tags and attributes ([https://github.com/discourse/discourse/blob/master/app/assets/javascripts/pretty-text/addon/white-lister.js](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/pretty-text/addon/white-lister.js)).

I’m not very familiar with the internals of this part of Discourse. Does anyone have some pointers on how to add to this list using a plugin or maybe even site settings?

---

_[View the full topic](https://meta.discourse.org/t/whitelisting-html-tags-attributes/159653)._
