Encoding, escaping and hashing

safe
Marks the value safe.
escape
Tera’s escape (leaves safe input alone). Go’s html is html_escape.
escape_html
Tera’s HTML escape of a string.
escape_xml
Tera’s XML escape (", '; leaves safe input alone). Go’s transform.XMLEscape is xml_escape.
xml_escape
Drops the characters XML forbids, then escapes & < > " ', tab, newline and CR (&#34; &#39; &#x9; &#xA; &#xD;, Go’s xml.EscapeText) even when the input is safe; the result is safe.
html_escape
Escapes & < > " ' even when the input is safe; the result is safe.
html_unescape
Decodes HTML entities.
jsonify
JSON with sorted keys, <>& escaped as \u003c…; indent pretty-prints.
unmarshal
Parses a string or resource as JSON, TOML, YAML, CSV or XML (format overrides detection); keys sorted.
remarshal
Re-encodes data as format (toml, yaml, json).
urlencode
Percent-encodes for a URL path (keeps /).
urlencode_strict
Percent-encodes every non-alphanumeric character.
urldecode
Decodes percent-encoding.
b64_encode
Base64 (url_safe, padded).
b64_decode
Decodes base64.
md5
Hex MD5.
sha1
Hex SHA-1.
sha256
Hex SHA-256.
fnv32a
FNV-1a 32-bit hash as an integer.
xxhash
Hex xxHash64.

    Type to search titles, headings and text.