OFFLINE-GmbH / oc-gdpr-plugin

October CMS plugin to make websites GDPR and ePrivacy compliant
https://octobercms.com/plugin/offline-gdpr
MIT License
36 stars 20 forks source link

Cookie Manager: Text is not escaped #93

Closed ogalbnafets closed 1 year ago

ogalbnafets commented 1 year ago

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!

tobias-kuendig commented 1 year ago

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 commented 1 year ago

Thanks, this works!

Running OCMS 2.2.32