safe_quotes_on

Turns on safe quotes.

Syntax

safe_quotes_on

Input

N/A

Example

Example 1
Template:
{x=1}
{safe_quotes_on}
*Text("{x}")
{safe_quotes_off}
Output:
*Text("{x}")
Example 2
Template:
{x=1}
{safe_quotes_off}
*Text("{x}")
{safe_quotes_on}
Output:
*Text("1")

Comments

When safe quotes are turned on, characters between quotes are taken literally and pass through Templex without being processed, including braces. With safe quotes turned off, braces and parentheses between quotes are processed by Templex.

Safe quotes are turned off by default except when loading MotionView and HyperGraph script files. When script files which include Templex instructions are loaded in MotionView and HyperGraph, characters between quotes are taken literally unless the statement safe_quotes_off is used.