-
Notifications
You must be signed in to change notification settings - Fork 919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apostrophe character doesn't display as intended in post title #13985
Comments
This is how it's encoded in the RSS feed. We may need to filter when it's displayed on our end to make sure entities are rendered correctly. |
@bsmth I want to work on this issue. |
Thanks @Ayushsunny - I don't think anyone is working on this, so I believe you can open a PR to fix it, see https://github.com/mozilla/bedrock/blob/main/.github/CONTRIBUTING.md for info or ask again here if you're stuck 👍🏻 |
Hey @bsmth, I could not find the
where this excerpt is coming from? |
Thanks for flagging it. I don't know this codebase at all, but it looks like you're on the right track. It's the
The other tags pipe to Maybe this is the fix, but needs maintainer eyes because it looks very intentional that excerpts are piped to <h2 class="mzp-c-card-title">{{ post.title | safe }}</h2> |
@alexgibson what do you have to say about this issue? |
@Ayushsunny Craig already mentioned the likely problem and solution here above. |
Description
In the "Life@Mozilla" section, there is a feed of articles. The title of an article uses an apostrophe, but is displayed as the unicode decimal
’
(https://www.codetable.net/decimal/8217) instead.Steps to reproduce
Expected result
The article title should be:
Actual result
Article title is
Environment
The text was updated successfully, but these errors were encountered: