mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-17 04:46:49 +00:00
e36489d352
Both filters consume HTML on the input side. Adding `pre_escape => 'html'`
makes the autoescaper escape attacker-controlled inputs before the filters
process them, so they are no longer reachable via `{{ user_input|inline_css }}`
or `{{ user_input|inky_to_html }}` without an explicit `|raw`.
Twig Inky Extension
This package is a Twig extension that provides the following:
inky_to_htmlfilter: processes an inky email template.