Function xmlUnescape
Returns a copy of the input string, after unescaping all known entity references.
If the string does not contain any entity reference, it is returned unmodified; otherwise, a copy is made using the specified allocator.
The set of known entities can be specified with the last parameter, which must support
the in
operator (it is treated as an associative array).
Prototypes
T[] xmlUnescape(std .typecons .Flag!("strict") .Flag strict, T, Alloc, U)(
T[] str,
U replacements = xmlPredefinedEntities!T()
)
if (is(typeof(Alloc .instance)));
T[] xmlUnescape(std .typecons .Flag!("strict") .Flag strict, T, Alloc, U)(
T[] str,
ref Alloc alloc,
U replacements = xmlPredefinedEntities!T()
);