DomHandlerOptions
interface DomHandlerOptions {
normalizeWhitespace?: boolean;
withEndIndices?: boolean;
withStartIndices?: boolean;
xmlMode?: boolean;
}§Properties
§
normalizeWhitespace?: boolean
[src]Replace all whitespace with single spaces.
Note: Enabling this might break your markup.
§
withEndIndices?: boolean
[src]Add an endIndex
property to nodes.
When the parser is used in a non-streaming fashion, endIndex
is an integer
indicating the position of the end of the node in the document.