Disabling the automatic HTML-entity unescape function
When link tracking is enabled for the HTML body section, XMLDelivery automatically carries out an unescape operation on all HTML entities it finds in the XML instructions file.
Example:
<a href="http://www.example.com">Description</a>
becomes:
<a href="http://www.example.com">Description</a>
Use
If you do not want XMLDelivery to carry out the unescape operation when HTML link tracking is activated, do the following:
- Set
unescape enabled
to"false"
in the preferences element of the HTML body section
Example:
<body>
<html>
....
<preferences>
<stats>
<links>parse</links>
<unescape enabled="false">
</stats>
</preferences>
The default value is "true"
.
This option does not affect:
- Text body
- HTML body, if link tracking is disabled
Note:
If you disable the unescape functionality, you can still enable support for ERB expressions in the message body. See Enabling ERB evaluation when unescape is disabled for more details.