Handlebar syntax for curly braces

{{ }} – Handlebars double-braces will URL encode characters that are able to be URL encoded. The double-braces themselves do not display in output (escaped). For example, you could use double-braces for an HTTP URI. This would automatically perform the URL encoding for any escaped characters (such as <, > , or space).

In the sample below the “&” symbol is converted as “&amp;”.

{{{ }}} – Handlebars triple-braces does not perform any encoding and preserves the characters as entered in the sample data. Use triple-braces if your field values have already been URL encoded.

In the sample below “&” symbol is not converted.

Leave a comment

Your email address will not be published. Required fields are marked *