minijinja::tests

Function is_safe

Source
pub fn is_safe(v: Value) -> bool
Expand description

Checks if a value is safe.

{{ "<hello>"|escape is safe }} -> true

This filter is also registered with the escaped alias.