HTML entity issue in notification pop-up – Apostrophe displayed incorrectly (' instead of ')

Hello everyone :waving_hand:

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:

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

Thanks in advance for your help :folded_hands:

5 Likes

Welcome to Meta :wave:

This was reported before in

4 Likes

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:

After:

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. :crossed_fingers: :slight_smile:

1 Like