Functions:escape
From Dwoo Docs
Applies various escaping schemes on the given string
escape([ $value = "", [ $format = 'html', [ $charset = null ]]])
- value : the string to process
- format : escaping format to use, valid formats are : html, htmlall, url, urlpathinfo, quotes, hex, hexentity, javascript and mail
- charset : character set to use for the conversion (applies to some formats only), defaults to the current Dwoo charset
Example:
{"some <strong>html</strong> tags"|escape}
Output:
some <strong>html</strong> tags




