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

Cookie Manager: Text is not escaped #93

Closed
ogalbnafets opened this issue Jul 30, 2022 · 2 comments
Closed

Cookie Manager: Text is not escaped #93

ogalbnafets opened this issue Jul 30, 2022 · 2 comments

Comments

@ogalbnafets
Copy link

Bildschirmfoto 2022-07-31 um 01 14 07
Hello!

I got the plugin running but I have a problem: the text (names, descriptions) are not correctly displayed as shown in the screenshot.
Did I miss something? Can you help?

Thanks!

@ogalbnafets ogalbnafets changed the title Text is not escaped Cookie Manager: Text is not escaped Jul 31, 2022
@tobias-kuendig
Copy link
Member

tobias-kuendig commented Aug 2, 2022

Can you try and remove the html_clean calls in plugins/offline/gdpr/components/cookiemanager/cookie.htm and see if it changes the output?

{{ html_clean(cookie.description | raw) }}

becomes

{{ cookie.description | raw }}

Also, what version of October are you running?

Refs #83

@ogalbnafets
Copy link
Author

Thanks, this works!

Running OCMS 2.2.32

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