# Allowing additional HTML elements

**URL:** https://meta.discourse.org/t/allowing-additional-html-elements/203510
**Category:** Support
**Created:** [September 14, 2021, 11:55am UTC](https://meta.discourse.org/t/allowing-additional-html-elements/203510 "2021-09-14T11:55:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Freso](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/freso/32/49081_2.png) [@Freso](https://meta.discourse.org/u/Freso)
#### Post date: [September 14, 2021, 11:55am UTC](https://meta.discourse.org/t/allowing-additional-html-elements/203510/1 "2021-09-14T11:55:55Z")

</div>

In [Whitelisting HTML tags / attributes](https://meta.discourse.org/t/whitelisting-html-tags-attributes/159653) Joffrey links to [https://github.com/discourse/discourse-policy/blob/main/assets/javascripts/lib/discourse-markdown/policy.js.es6#L43](https://github.com/discourse/discourse-policy/blob/main/assets/javascripts/lib/discourse-markdown/policy.js.es6#L43) for a way to whitelist given HTML tags/attributes, but I do not see any `policy` options in settings for this.

Is this no longer a thing? Or maybe I’m misunderstanding how that code works? Is it something I need to make a plugin (or theme component?) to hook into?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [September 14, 2021, 12:54pm UTC](https://meta.discourse.org/t/allowing-additional-html-elements/203510/2 "2021-09-14T12:54:32Z")

</div>

Yes you need to write a plugin to allow additional elements.
