qw3rtty / grav-plugin-simple-cookie

The Simple Cookie Plugin is an extension for Grav. The plugin is based on the popular CookieConsent JS-library. For Advanced Opt-In/Opt-Out configurations you can use the 'Custom configuration' option.
MIT License
8 stars 2 forks source link

Spaces in texts in custom config are removed #1

Closed dartcafe closed 4 years ago

dartcafe commented 4 years ago

https://github.com/thomasschwarz96/grav-plugin-simple-cookie/blob/3d0ddcbe40d93779da005059e1739e20d5cb0132/templates/partials/init-simple-cookie.html.twig#L18

"content": { "message": "This website uses cookies to ensure you get the best experience on our website." [...]

becomes

Thiswebsiteusescookiestoensureyougetthebestexperienceonourwebsite

qw3rtty commented 4 years ago

I committed a bugfix. Should be available soon on grav.