Skip to content
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

content not rendering UTF-8 special characters #3833

Closed
jonata opened this issue May 16, 2024 · 2 comments
Closed

content not rendering UTF-8 special characters #3833

jonata opened this issue May 16, 2024 · 2 comments

Comments

@jonata
Copy link

jonata commented May 16, 2024

As shown in the image, the contents of content|raw are not rendering special characters. But other template elements are rendered correctly (the yellow box in this example).

image

I tried to downgrade grav and grav-admin with no success.

As a workaround, I had to add this to my templates:

{{ utf8_decode(page.content)|raw }}

@rhukster
Copy link
Member

Are you using page-toc plugin? I found an issue there that is fixed in 3.2.4 (should be available soon).

@jonata
Copy link
Author

jonata commented May 18, 2024

Yes, I am! Great, I see there is an update, and applying it solves the problem. Thank you so much!!

@jonata jonata closed this as completed May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants