Escape characters that would otherwise be parsed as MML
tag/attribute structure. Safe for both text content and attribute
values when the latter use "..." delimiters (our convention).
Apostrophe (') deliberately NOT escaped: it has no special
meaning in either XML text content or "..."-quoted attribute
values, and emitting ' instead of ' shows up as literal
' in the current raw-rendering client. When MML parsing
lands on the client this can become moot, but until then the
smaller escape set keeps prose readable.
Escape characters that would otherwise be parsed as MML tag/attribute structure. Safe for both text content and attribute values when the latter use
"..."delimiters (our convention).Apostrophe (
') deliberately NOT escaped: it has no special meaning in either XML text content or"..."-quoted attribute values, and emitting'instead of'shows up as literal'in the current raw-rendering client. When MML parsing lands on the client this can become moot, but until then the smaller escape set keeps prose readable.