# Dropcaps in Discourse - cannot override span tag

**URL:** <https://meta.discourse.org/t/dropcaps-in-discourse-cannot-override-span-tag/66477>\
**Category:** UX\
**Created:** [20.Июль.2017 00:29:23 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:** 4

<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:** [20.Июль.2017 08:48:24 UTC](https://meta.discourse.org/t/dropcaps-in-discourse-cannot-override-span-tag/66477/4 "2017-07-20T08:48:24Z")

</div>

```js
(function() {

  Discourse.Markdown.whiteListTag('span', 'class', 'dropcap');

})();

```

Try the simple JavaScrpit above. [example](https://github.com/scossar/discourse-image-tag-whitelist/blob/master/assets/javascripts/image-tag-whitelist.js)

---

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