nohtml

nohtml

Prevents HTML tags from being rendered in templates

Example

[%nohtml%]
    <p><b>Look ma! HTML!</b></p>
[%/nohtml%]

Displays:

<p><b>Look ma! HTML!</b></p>

Usage

Wrap this function around any content to escape the HTML tags.


Was this article useful?

Be notified when this page is updated. Optional.