Closed kraftner closed 7 years ago
Currently there is no way to add a helper function that is_safe. Maybe the internally used * prefix can be used or you can consider exposing the Twig Environment. Haven't thought this through yet though.
is_safe
*
This should work in 3.0.1: https://github.com/fvsch/kirby-twig/blob/master/doc/functions.md#marking-a-functions-output-as-safe
Same here. Thanks a lot!
Currently there is no way to add a helper function that
is_safe
. Maybe the internally used*
prefix can be used or you can consider exposing the Twig Environment. Haven't thought this through yet though.