Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Right now filter_xss is called, but by default it allows a lot of tags through. This causes issues with the sharing, because once they make it to the share widget it appears as HTML.
Proposed resolution
Remove all tags when calling filter_xss for the share bar.
Remaining tasks
Patch.
User interface changes
No HTML tags in the share dialogs.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#2 | before.png | 43.04 KB | Sam152 |
#2 | after.png | 36.95 KB | Sam152 |
#2 | 2733831-remove-all-html-tags-2.patch | 3.24 KB | Sam152 |
Comments
Comment #2
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commented