Closed phideas closed 7 years ago
Hi @phideas ,
To be honest I don't use Gantry. However I have added the raw
filter in the develop branch. You may check it out, if you want. I will release a new version in the next days.
Very nice. Now it is "plug&play" and "update proof" for Gantry users too. Gantry is very advanced and popular plugin for Grav. I am sure many users will appreciate this patch. Thank you!
Ok, I released a new version today. Have fun 🎉
If using Gantry plugin, all variables are auto-escaped for security reason. Using {{ jscomments()|raw }} makes it easy to render output correctly. But translations are escaped even after this step and results in wrong output.
Please consider adding
|raw
after translations and make this plugin update proof for Gantry users.'PLUGINS.JS_COMMENTS.PROVIDERS.DISQUS.NOSCRIPT'|t|raw