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 using automatic escaping, Twig tries to not double-escape a variable when the automatic escaping strategy is the same as the one applied by the escape filter;
css: escapes a string for the CSS context. CSS escaping can be applied to any string being inserted into CSS and escapes everything except alphanumerics.
According to the documentation of the autoescape tag:
But, when testing TwigPHP, it seems like the
autoescape
tag actually do escape already escaped value by the escape filter:https://twigfiddle.com/qtyoxi
So, which one is correct: TwigPHP implementation or the documentation?
The text was updated successfully, but these errors were encountered: