entities
Remove special characters and entities from a variable.
Runs the variable through PHP’s htmlentities function, converting characters like <
and >
into <
and >
, respectively. This will also convert non-ASCII characters to their entities.
Sample Usage
{{ comment|entities }}
If {{ comment }}
is Nice to <b>meet you.</b>
, this will output Nice to <b> meet you.</b>
.
Parameters
This modifier has no parameters.