You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When having a metadata of red & blue this is getting escaped twice with Grav 1.7. I guess this is done somewhere in the code and also via default escaping. What I am not sure about is, if only content must have a raw filter, or property, charset, name and http_equiv as well. Or if there is even a better fix.
The text was updated successfully, but these errors were encountered:
If you ask me grav should not escape anything when processing the page metadata and the twig autoescaping functionality should handle the rest. Old themes should be fixed with the |e filter.
https://github.com/getgrav/grav/blob/fdf884036da0c3b613be75e815eaebb6de015722/system/templates/partials/metadata.html.twig
When having a metadata of
red & blue
this is getting escaped twice with Grav 1.7. I guess this is done somewhere in the code and also via default escaping. What I am not sure about is, if onlycontent
must have araw
filter, orproperty
,charset
,name
andhttp_equiv
as well. Or if there is even a better fix.The text was updated successfully, but these errors were encountered: