Client Side Template

<escape<{some template code}>>


Escapes long strings of template characters


In some cases you need to include special functions in a template (such as - a function that generates a static HTML map). The function call may include characters such as a colon, which must be escaped because they have special meaning in a template.

width: 400,
height: 300,
center: 'Boston MA'

Before the escape directive was available, this above template would have had to be written as:

{\{width\: 400,height\: 300,center\: 'Boston MA'\})}