WORKED CASE · SYNTHETIC TEST DATA

Keep label punctuation as SVG text

Angle brackets in a label should not become elements.

Input and settings

A&B <demo>

Run and interpret

Enter the sample and inspect the image source. It contains XML entities while the preview displays literal punctuation.

Expected output

A&amp;B &lt;demo&gt;

Scope and possible misuse

Dimensions are positive integers up to 4096. This creates a placeholder, not a sanitizer for arbitrary uploaded SVG.

Unexpected result? Report a minimal example