Recent changes RSS feed
 

Text Filter

The function of the text filter is very simple: it converts line breaks (e.g. from form input) to <br />. As WACT normally escapes all HTML output, you must use the text filter in conjunction with the raw filter.

Usage

{$mytext|text|raw}

Using ‘raw’ here would allow any ‘malicious’ HTML to pass through from $mytext, so you should probably pass it through the html filter first:

{$mytext|html|text|raw}
 
filter/core/text.txt · Last modified: 2006/12/09 17:14
 
Hosting for this site donated by Procata PHP Development