# Dropcaps in Discourse - cannot override span tag

**URL:** https://meta.discourse.org/t/dropcaps-in-discourse-cannot-override-span-tag/66477
**Category:** UX
**Created:** [July 20, 2017, 12:29am UTC](https://meta.discourse.org/t/dropcaps-in-discourse-cannot-override-span-tag/66477 "2017-07-20T00:29:23Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [July 20, 2017, 10:33am UTC](https://meta.discourse.org/t/dropcaps-in-discourse-cannot-override-span-tag/66477/7 "2017-07-20T10:33:41Z")

</div>

That repo was not mine. But it have no problems. Recently major change done in [markdown](https://meta.discourse.org/t/commonmark-testing-started-here/65121). I guess that’s causing the issue.

After some research I found currently Markdown whitelisting should be done in other way like below.

```js
import WhiteLister from 'pretty-text/white-lister';

export default {
  name: 'dropcap',

  initialize() {
    const whiteLister = new WhiteLister();
    whiteLister.whiteListFeature("dropcap", [
      'span.dropcap'
    ]);
  }
};

```

Above code should be placed in ember initializer. For that you should know [basic plugin development](https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins-part-1/30515).

Looks like @cpradio’s method is already working fine. So you can try it first.

---

_[View the full topic](https://meta.discourse.org/t/dropcaps-in-discourse-cannot-override-span-tag/66477)._
