# Add \<abbr\> tags to words in posts

**URL:** <https://meta.discourse.org/t/add-abbr-tags-to-words-in-posts/88394>\
**Category:** Theme component\
**Created:** [May 24, 2018, 6:03pm UTC](https://meta.discourse.org/t/add-abbr-tags-to-words-in-posts/88394 "2018-05-24T18:03:10Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)\
**Post date:** [June 6, 2018, 4:58am UTC](https://meta.discourse.org/t/add-abbr-tags-to-words-in-posts/88394/5 "2018-06-06T04:58:48Z")

</div>

Hi @southpaw

You need to make a small adjustment to the theme to fix both problems.

- Abbreviated words / phrases not picked up in `<code>` tags
- Repeating characters in oneboxes

Go to the edit theme \> common \> /head section and change line #19

 ![Capture](https://global.discourse-cdn.com/meta/original/3X/5/5/55845420e6a27a7753d39f811b71a50ee0798df7.PNG)

You’d only need to change the word

`code`

to

`aside`

Like so:

 ![Capture](https://global.discourse-cdn.com/meta/original/3X/0/6/0605c8857ee9205ec840e8e6b82c550a9820d09e.PNG)

This will have two effects:

- ask the theme not to ignore `<code>` tags when looking for abbreviated words. Which allows you to add the sequence `*#*#8647#*#*` in the abbreviated words list (no backticks) like any other word and it should work:

 ![Untitled](https://global.discourse-cdn.com/meta/original/3X/0/a/0a9e49c5d446ef07a92faa0070e7136bcb9b071c.png)

- ask the theme **not** to look for abbreviated words in `<aside>` tags to prevent duplicated letters in oneboxes

Here’s a before:

 ![Capture](https://global.discourse-cdn.com/meta/original/3X/8/c/8cdb1b29fb09e52682f95f4110427d66947aefa9.PNG)

and after:

 ![Capture](https://global.discourse-cdn.com/meta/original/3X/5/b/5ba7adcd096a07d35aeb673dee1a4b690f55e149.PNG)

The catch here is that this a local change and would need to be reapplied every time you update the theme, but considering it’s only one word, I don’t think this is a big problem.

Are there any other places where you’re seeing duplicate letters in abbreviations?

---

_[View the full topic](https://meta.discourse.org/t/add-abbr-tags-to-words-in-posts/88394)._
