# HTML-entiteitsprobleem in pop-upmelding – Apostrof wordt onjuist weergegeven (' in plaats van ')

**URL:** https://meta.discourse.org/t/html-entity-issue-in-notification-pop-up-apostrophe-displayed-incorrectly-x27-instead-of/368710
**Category:** UX
**Tags:** user-tips
**Created:** [3 juni 2025 om 14:43 UTC](https://meta.discourse.org/t/html-entity-issue-in-notification-pop-up-apostrophe-displayed-incorrectly-x27-instead-of/368710 "2025-06-03T14:43:53Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Samar\_Othmeni](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/samar_othmeni/32/465746_2.png) [@Samar\_Othmeni](https://meta.discourse.org/u/Samar_Othmeni)
#### Post date: [3 juni 2025 om 14:43 UTC](https://meta.discourse.org/t/html-entity-issue-in-notification-pop-up-apostrophe-displayed-incorrectly-x27-instead-of/368710/1 "2025-06-03T14:43:53Z")

</div>

Hello everyone 👋

I’m currently facing a small display bug in my self-hosted Discourse instance (version [add your version if known]).

When a user receives their first notification, the popup shows an HTML entity instead of a proper apostrophe. Instead of showing:

“J’ai compris !”

It renders:  
“J'ai compris !”  
Here’s a screenshot of the issue:

 ![Screenshot 2025-06-02 at 10.58.50](https://global.discourse-cdn.com/meta/original/4X/d/0/4/d042daddf85a09f2d3b7c3c29e5725edfcc46b41.png)

Has anyone seen this before or found a workaround for it?

Thanks in advance for your help 🙏

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [4 juni 2025 om 12:08 UTC](https://meta.discourse.org/t/html-entity-issue-in-notification-pop-up-apostrophe-displayed-incorrectly-x27-instead-of/368710/2 "2025-06-04T12:08:52Z")

</div>

Welcome to Meta 👋

This was reported before in

> [@fr Special characters encoding issue in onboarding tips](https://meta.discourse.org/t/special-characters-encoding-issue-in-onboarding-tips/352169):
>
> See the button: I wouldn’t be surprised if the issue was present inall the tooltips.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [4 juni 2025 om 15:56 UTC](https://meta.discourse.org/t/html-entity-issue-in-notification-pop-up-apostrophe-displayed-incorrectly-x27-instead-of/368710/3 "2025-06-04T15:56:15Z")

</div>

I think there is a workaround if you wanted an immediate change while waiting for a fix.

Overriding that text using the customise site text option seems to clear it up nicely:

Before:

 ![A pop-up message in French prompts the user to continue reading tabs they marked, with a button labeled "J&x27;ai compris!" to acknowledge the message. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/9/a/f/9af263dc9ef0e475ca9b1b24bad1706882d16a12.jpeg)

After:

 ![The image displays a notification in French with the message "Continuez de lire! Voici quelques sujets que vous pourriez vouloir lire ensuite." on a blue background. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/a/d/a/ada282324f6448e25705832faaf96bdcb2dcde9d.jpeg)

For that I went to the `/admin/customize/site_texts` page and searched for `js.user_tips.button`. I then edited it and just retyped ‘J’ai compris !’ and saved.

Though hopefully a proper fix shouldn’t take too long. 🤞 🙂

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [7 augustus 2025 om 17:47 UTC](https://meta.discourse.org/t/html-entity-issue-in-notification-pop-up-apostrophe-displayed-incorrectly-x27-instead-of/368710/4 "2025-08-07T17:47:39Z")

</div>

Duplicate of [🇫🇷 Special characters encoding issue in onboarding tips](https://meta.discourse.org/t/special-characters-encoding-issue-in-onboarding-tips/352169), now fixed via [FIX: user tips in languages with apostrophes by pmusaraj · Pull Request #34118 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/34118) though. Thanks for the report!

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [9 augustus 2025 om 12:00 UTC](https://meta.discourse.org/t/html-entity-issue-in-notification-pop-up-apostrophe-displayed-incorrectly-x27-instead-of/368710/5 "2025-08-09T12:00:36Z")

</div>

Dit onderwerp is automatisch gesloten na 42 uur. Nieuwe reacties zijn niet meer toegestaan.
