- Issue created by @dc-kinoshita
- 🇧🇪Belgium flyke
Also, the & character in scripts gets escaped.
When entering this in CookiePro settings:
if (!OABCcookie && bannerAcceptBtn) {
It gets converted into:
if (!OABCcookie && bannerAcceptBtn) {
So only way to implement script correctly now is by adding the cookiepro script straight into the html.html.twig file, rendering this module absolutely useless.
- 🇧🇪Belgium flyke
Previous patch didnt apply, do no know why. Testing again.
- 🇧🇪Belgium flyke
Sorry for being a trouble, I know the fix works, but applying patch (which worked lokally but not when applying the patch from this issue) still did not. Quite certain it is because of the file encoding of the patch which I think my vscode automatically converted. Testing again.
- 🇯🇵Japan dc-kinoshita
Thank you for providing the patch!
I need to test it in my project. - Status changed to Needs review
10 months ago 2:52pm 30 January 2024