Special Character Substitutions
When applicable, the first text substitution to occur is the replacement of any special characters.
This process is handled by the
The specialchars element searches for three characters (
&) and replaces them with their character entity references.
The less than symbol,
<, is replaced with the
<character entity reference.
The greater than symbol,
>, is replaced with the
>character entity reference.
&, is replaced with the
&character entity reference.
By default, the special characters substitution occurs on all inline and block elements except for comments and certain passthroughs. The substitution of special characters can be controlled on blocks using the subs attribute and on inline elements using the passthrough macro.
Special character substitution precedes attribute substitution, so you will need to manually escape any attributes containing special characters that you set in the CLI or API.
For example, on the command line, type