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

Characters escaped when displaying the title bloc in templates #3314

Conversation

fsidobre
Copy link
Contributor

Hello,

Just noticed that the title in layout*.html.twig files is a little bit too much escaped.

There's a |striptags filter which is indeed useful because subsequent title blocks may have html elements in it. But the function does too much escaping.

For example, the title of the login page in french is "S'identifier" which is then displayed as :
wrong-title-escaping

As the content is already stripped from tags, we can just display a raw value.

Copy link
Member

@bobdenotter bobdenotter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @fsidobre 👍

@bobdenotter bobdenotter merged commit 5bcff9e into bolt:master Sep 16, 2022
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

Successfully merging this pull request may close these issues.

2 participants