Topic cluster

Template filter

A named transformation applied to a value inside a template expression.

View topic page

10 items

The remaining keywords do not make a useful further split. All matching documentation is listed below.

Filters

escape

HTML escape a text. Escapes all reserved HTML characters in the value. Escaped strings are safe to be displayed in a HTML page. When you echo a query string argument or path variable then you must escape the value…

Filters

escape_check

Ensures thant an HTML escaped value is properly escaped.

Filters

escapejs

Escapes the value for insertion in JavaScript output.

Filters

escape_link

Convert any URLs in a plaintext into HTML links, with adding the rel="nofollow" attribute, and replaces all newlines with <br> tags.

Filters

pickle

Pickle an Erlang value so that it can be safely submitted with a form.

Filters

sanitize_html

Sanitize a HTML code. Removes elements and attributes that might be dangerous, like <script> elements.

Filters

sanitize_url

Sanitize an URL. Removes URLs that might be dangerous, like javascript: URLs.

Filters

striptags

Removes all HTML tags from the value.

Filters

unescape

Removes HTML escaping from a text.