For more information... RTFM!
NAVIGATION
RECENTLY VIEWED
PAGES THAT LINK HERE
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

encode_entities

Encode's HTML character entities.

For example, "&" will be replaced with "&amp;" and "<" will be replaced with "&lt;" etc.

Also see the decode_entities and urlencode filter.

Example

[filter encode_entities]< " >[/filter]

Results in:

&lt; &quot; &gt;

Source code

sub {
    return HTML::Entities::encode(shift, $ESCAPE_CHARS::std);
}

Category:  Filters
Last modified by: Kevin Walsh
Modification date: Monday 26 February 2007 at 12:07 PM (EST)
Home  |  Legal nonsense  |  Privacy policy  |  Contact us