# Whitelisting elements in Discourse Plugin

**URL:** <https://meta.discourse.org/t/whitelisting-elements-in-discourse-plugin/109727>\
**Category:** Development\
**Created:** [21 בפברואר,‏ 2019,‏ 7:23am UTC](https://meta.discourse.org/t/whitelisting-elements-in-discourse-plugin/109727 "2019-02-21T07:23:30Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![timuism](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/timuism/32/112096_2.png) [@timuism](https://meta.discourse.org/u/timuism)\
**Post date:** [21 בפברואר,‏ 2019,‏ 7:58am UTC](https://meta.discourse.org/t/whitelisting-elements-in-discourse-plugin/109727/5 "2019-02-21T07:58:29Z")

</div>

I just tried: `helper.whiteList(['div.callout', 'div.callout--dashed']);` which did not work.

I also tried what you recommended & removed the dashes (`calloutdashes`). Issue persists.

So then I tried to remove `div.callout` from `token.attrs.push()` so that it would only set `callout--dashed`. Andddd that works.

---

_[View the full topic](https://meta.discourse.org/t/whitelisting-elements-in-discourse-plugin/109727)._
