# In the title, "''' are still converted in " ›"

**URL:** https://meta.discourse.org/t/in-the-title-are-still-converted-in/126836
**Category:** Support
**Created:** [26 augustus 2019 om 13:57 UTC](https://meta.discourse.org/t/in-the-title-are-still-converted-in/126836 "2019-08-26T13:57:39Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![CamilleRoux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/camilleroux/32/119575_2.png) [@CamilleRoux](https://meta.discourse.org/u/CamilleRoux)
#### Post date: [26 augustus 2019 om 13:57 UTC](https://meta.discourse.org/t/in-the-title-are-still-converted-in/126836/1 "2019-08-26T13:57:39Z")

</div>

Hi,

I followed the answer here but still get the problem:

> [@In title, "''' are converted in " ›"](https://meta.discourse.org/t/in-title-are-converted-in/123853):
>
> Here is the bug I’ve got. I write It’s displayed as It’s not a font bug because, the char is in the HTML: Here is a link to post if needed: [Création d'une application mobile.. quelle plateforme, quel environnement, les questions qu'il faut se poser - Mobile - Human Coders Forum](https://forum.humancoders.com/t/creation-dune-application-mobile-quelle-plateforme-quel-environnement-les-questions-quil-faut-se-poser/3035)

I updated Discourse using `/admin/upgrade#/`and with a `git pull` then a rebuild. Did I miss something?

Thanks

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [26 augustus 2019 om 14:32 UTC](https://meta.discourse.org/t/in-the-title-are-still-converted-in/126836/2 "2019-08-26T14:32:21Z")

</div>

That’s because we didn’t backport the fix to the beta branch. I just did. Please upgrade one more time.

After upgrading, either manually edit the title of affected topics or run the following rake task to fix the titles:

```plaintext
rake topics:update_fancy_titles

```

---

<div class="post-metadata">

### Author: ![CamilleRoux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/camilleroux/32/119575_2.png) [@CamilleRoux](https://meta.discourse.org/u/CamilleRoux)
#### Post date: [26 augustus 2019 om 14:53 UTC](https://meta.discourse.org/t/in-the-title-are-still-converted-in/126836/3 "2019-08-26T14:53:32Z")

</div>

OK, the update worked. When I create or edit a post, everything is OK.

But…

The rake task added the bug on ALL the post title of my forum (even the very old) ☹  
 ![46](https://global.discourse-cdn.com/meta/optimized/3X/d/d/dd966a6f31e27e2294577df394a7856962ba56e1_2_689x52.png)

 ![09](https://global.discourse-cdn.com/meta/original/3X/6/8/6844eb8d5ca95f68a5981d58300caf60619d6d0a.png)

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [26 augustus 2019 om 15:06 UTC](https://meta.discourse.org/t/in-the-title-are-still-converted-in/126836/4 "2019-08-26T15:06:48Z")

</div>

Did you run the rake task _after_ upgrading Discourse? I’m not sure how the rake task could use the defective logic if it has been removed by the upgrade. 🤔 Maybe try again?

---

<div class="post-metadata">

### Author: ![CamilleRoux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/camilleroux/32/119575_2.png) [@CamilleRoux](https://meta.discourse.org/u/CamilleRoux)
#### Post date: [26 augustus 2019 om 15:23 UTC](https://meta.discourse.org/t/in-the-title-are-still-converted-in/126836/5 "2019-08-26T15:23:42Z")

</div>

I’m note sure of waiting the end of the update… 😬  
I retried, nothing change.  
Can I do a rebake?

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [26 augustus 2019 om 16:01 UTC](https://meta.discourse.org/t/in-the-title-are-still-converted-in/126836/6 "2019-08-26T16:01:16Z")

</div>

It shouldn’t hurt. Not sure if it helps much in this case though and I have no idea why the rake task doesn’t work for you. It works in my dev environment.

---

<div class="post-metadata">

### Author: ![CamilleRoux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/camilleroux/32/119575_2.png) [@CamilleRoux](https://meta.discourse.org/u/CamilleRoux)
#### Post date: [26 augustus 2019 om 16:27 UTC](https://meta.discourse.org/t/in-the-title-are-still-converted-in/126836/7 "2019-08-26T16:27:41Z")

</div>

hum, that’s weird. If I edit the title manually (add a space at the end + save), it works.  
The rebake is running, I’ll keep you up to date.

---

<div class="post-metadata">

### Author: ![CamilleRoux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/camilleroux/32/119575_2.png) [@CamilleRoux](https://meta.discourse.org/u/CamilleRoux)
#### Post date: [26 augustus 2019 om 17:26 UTC](https://meta.discourse.org/t/in-the-title-are-still-converted-in/126836/8 "2019-08-26T17:26:49Z")

</div>

Rebake changed nothing ☹  
Do I have to come back to a previous backup and try again. Somebody has another idea?

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [26 augustus 2019 om 17:57 UTC](https://meta.discourse.org/t/in-the-title-are-still-converted-in/126836/9 "2019-08-26T17:57:35Z")

</div>

Before you do that, please try rebuilding the container one more time and rerun the rake task. I just tried it on a test site of mine and the rake task worked fine there as well.

---

<div class="post-metadata">

### Author: ![CamilleRoux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/camilleroux/32/119575_2.png) [@CamilleRoux](https://meta.discourse.org/u/CamilleRoux)
#### Post date: [26 augustus 2019 om 18:05 UTC](https://meta.discourse.org/t/in-the-title-are-still-converted-in/126836/10 "2019-08-26T18:05:04Z")

</div>

If I do what the [task](https://github.com/discourse/discourse/blob/ce8e09963903fcad725002b2d42b54b4af5d0930/lib/tasks/topics.rake#L86) do manually, it works also :

```
[9] pry(main)> t.fancy_title
=> "Entrepreneur : comment gérer les moments d&nbsp;&rsaquo;incertitude?"
[10] pry(main)> t.fancy_title = nil
=> nil
[11] pry(main)> t.fancy_title
=> "Entrepreneur : comment gérer les moments d&rsquo;incertitude?"

```

I try rebuilding and tell you if it works

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [25 september 2019 om 18:05 UTC](https://meta.discourse.org/t/in-the-title-are-still-converted-in/126836/11 "2019-09-25T18:05:08Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
