Interface DecodingOptions

interface DecodingOptions {
    level?: EntityLevel;
    mode?: DecodingMode;
}

Properties

Properties

level?: EntityLevel

The level of entities to support.

Decoding mode. If Legacy, will support legacy entities not terminated with a semicolon (;).

Always Strict for XML. For HTML, set this to true if you are parsing an attribute value.

The deprecated decodeStrict function defaults this to Strict.