# Category name missing when not continuing the sentence

**URL:** https://meta.discourse.org/t/category-name-missing-when-not-continuing-the-sentence/160982
**Category:** Bug
**Created:** [August 15, 2020, 1:42pm UTC](https://meta.discourse.org/t/category-name-missing-when-not-continuing-the-sentence/160982 "2020-08-15T13:42:44Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Thomas\_G](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thomas_g/32/200158_2.png) [@Thomas\_G](https://meta.discourse.org/u/Thomas_G)
#### Post date: [August 15, 2020, 1:42pm UTC](https://meta.discourse.org/t/category-name-missing-when-not-continuing-the-sentence/160982/1 "2020-08-15T13:42:44Z")

</div>

[![](https://global.discourse-cdn.com/meta/original/3X/f/6/f6970f837fc7a57bbf5897cb27011734fc82946d.jpeg "Category name missing when not continuing the sentence") ](https://www.youtube.com/watch?v=NSu1VG07NuM)

* * *

Check the video for repro steps. Although the category name is full in the preview box, it doesn’t appear in the actual post.

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [August 15, 2020, 1:52pm UTC](https://meta.discourse.org/t/category-name-missing-when-not-continuing-the-sentence/160982/2 "2020-08-15T13:52:20Z")

</div>

This is also happening with mentions.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [August 15, 2020, 6:49pm UTC](https://meta.discourse.org/t/category-name-missing-when-not-continuing-the-sentence/160982/3 "2020-08-15T18:49:49Z")

</div>

Hmm, we should take a look at this one early next week @eviltrout

---

<div class="post-metadata">

### Author: ![markvanlan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markvanlan/32/160087_2.png) [@markvanlan](https://meta.discourse.org/u/markvanlan)
#### Post date: [August 17, 2020, 3:23pm UTC](https://meta.discourse.org/t/category-name-missing-when-not-continuing-the-sentence/160982/6 "2020-08-17T15:23:34Z")

</div>

I fixed this issue for mentions last week in this commit [FIX: Update preview when autocomplete is clicked (#10430) · discourse/discourse@b9891e3 · GitHub](https://github.com/discourse/discourse/commit/b9891e3def289d2d0f33c0f18fa0bcd1e724e390).

The fix for category autocomplete is pretty much the exact same. Here is a PR [FIX: Clicking on category autocomplete row by markvanlan · Pull Request #10457 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/10457).

Merged!

---

<div class="post-metadata">

### Author: ![markvanlan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markvanlan/32/160087_2.png) [@markvanlan](https://meta.discourse.org/u/markvanlan)
#### Post date: [August 17, 2020, 6:31pm UTC](https://meta.discourse.org/t/category-name-missing-when-not-continuing-the-sentence/160982/7 "2020-08-17T18:31:02Z")

</div>


