Escaping HTML Characters

Special characters <, > and & are escaped in the output.

Examples

Given this instrumentation:

<span concordion:echo="username" />

We expect the following outputs, depending on the evaluation result of username:

We have stripped out the concordion:echo attributes from the "expected output" for legibility. They may be present.

username Expected output
abc
<span>abc</span>
a&b
<span>a&amp;b</span>
a<bc
<span>a&lt;bc</span>
<&>abc
<span>&lt;&amp;&gt;abc</span>