# Tooltips on sidebar expose HTML

**URL:** https://meta.discourse.org/t/tooltips-on-sidebar-expose-html/239998
**Category:** Bug
**Tags:** sidebar
**Created:** [September 25, 2022, 10:51am UTC](https://meta.discourse.org/t/tooltips-on-sidebar-expose-html/239998 "2022-09-25T10:51:27Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [September 25, 2022, 10:51am UTC](https://meta.discourse.org/t/tooltips-on-sidebar-expose-html/239998/1 "2022-09-25T10:51:27Z")

</div>

I’ve got a few #links and @mentions in my Category descriptions, which are very helpful for category-specific navigation.

Unfortunately the tooltips in the #sidebar reveal the cooked HTML instead of the text for these bits, which is super messy:

![image](https://global.discourse-cdn.com/meta/optimized/4X/f/e/8/fe8a2b1e0bf5ec8fa9646750fb7c381f0256165c_2_690x54.png)

Perhaps they could be sanitised and have the links removed (leaving just the text)?

---

<div class="post-metadata">

### Author: ![jenroberts](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jenroberts](https://meta.discourse.org/u/jenroberts)
#### Post date: [September 27, 2022, 5:56pm UTC](https://meta.discourse.org/t/tooltips-on-sidebar-expose-html/239998/3 "2022-09-27T17:56:22Z")

</div>

To help our members transition to the new system, we included some tags in the About category. It looks find if you hover over that category in the list view.

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/7/d/57d57e9ba298bb360e82a530860768c993b5cf2a.png)

But if you hover over it in the sidebar, it’s a bit crazy.

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/6/1/06170b5758a20fff7633b8787636524cf8d3b604.png)

Can anything be done to clean that up? I’m not anxious to remove the tags from the About post since we are just migrating and our users need help learning where things are now.

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [September 27, 2022, 6:58pm UTC](https://meta.discourse.org/t/tooltips-on-sidebar-expose-html/239998/4 "2022-09-27T18:58:42Z")

</div>

Thanks for the reports @nathank and @jenroberts !

I’ll add this to our list see if we can get to it sooner than later.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [September 29, 2022, 6:29am UTC](https://meta.discourse.org/t/tooltips-on-sidebar-expose-html/239998/6 "2022-09-29T06:29:33Z")

</div>

Thank you for letting us know 👍 I have a commit that would fix the issue

[https://github.com/discourse/discourse/pull/18411](https://github.com/discourse/discourse/pull/18411)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [October 3, 2022, 12:00am UTC](https://meta.discourse.org/t/tooltips-on-sidebar-expose-html/239998/7 "2022-10-03T00:00:54Z")

</div>

This topic was automatically closed after 3 days. New replies are no longer allowed.
