Escape to the variable lists separated by a delimiter(default: | ).
If you have multiple described will be processed in the order in which they are listed.
The value to be printed will be output through the htmlspecialchars($str, ENT_QUOTES, ENCODING, false) by default.
When you DEFAULT_HTML_ESCAPE to FALSE will disable the default escape.
With DEFAULT_HTML_ESCAPE=TRUE (the default), the following are the same.
{{ val_name }}
{{ val_name|html }}
The types of escapes are as follows.
The value is HTML escaped with htmlspecialchars.
{{ val_name|html }}
The value is HTML escaped with htmlentities.
{{ val_name|htmlall }}
"'" will be converted to "\'".
{{ val_name|quotes }}
The value is escaped for JavaScript.
{{ val_name|js }}
All newlines will be converted to HTML line breaks with nl2br.
{{ val_name|nl2br }}
Space will be converted to ' '.
{{ val_name|nbsp }}
'\t' will be converted to ' '.
{{ val_name|tab2nbsp }}
The value will be URL encoded with rawurlencode.
{{ val_name|url }}
The value will be URL encoded with rawurlencode, '%2F' will be converted to '/'.
{{ val_name|urlpathinfo }}
Not escaped. The value is output as it is.
{{ val_name|raw }}