JSON

{variable|json}

Output the variable as JSON.

Prettified JSON

{variable|json-pretty}

Output the variable as formatted JSON.

URL Slug

{variable|slugify}

Convert a human readable string to a url slug. For instance, "Test Example" would become "test-example".

URL Encode

{variable|url-encode}

Encode a variable so it can be safely used in a URL. For instance, "Test Example" would become "Test%20Example".

HTML

{variable|html}

Escape a string to ensure it is valid HTML.

HTML Attribute

{variable|htmlattr}

Escape a string to ensure it can be used in an attribute reference (src="X", for instance) within an HTML tag.

Twitter Links

{variable|activate-twitter-links}

Make links and @names link to the appropriate places on twitter. For instance, @acasalena (the string) would become @acasalena

Safe

{variable|safe}

Make the variable 'safe' by stripping away unsafe HTML, such as injected script tags.