Broken markup when page title contains HTML tags

Created on 13 July 2020, about 5 years ago
Updated 21 November 2024, 10 months ago

When the page title contains HTML tags, these are not stripped from the title before using it in an HTML attribute in addtoany-standard.html.twig.

My use case is a kind of an error actually, because it's a configuration page of the Mini Layouts module. It still feels like a bug.

I'll attach a patch to the template that simply adds a striptags modifier.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇩🇪Germany berliner

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024