wt2html/XMLSerializer~XMLSerializer

Show:

Methods

(static) serialize(node, optionsopt)

Serialize an HTML DOM3 node to XHTML.

Serialize an HTML DOM3 node to XHTML.

Parameters:
Name Type Attributes Description
node Node
options Object <optional>
Properties
Name Type Attributes Default Description
smartQuote boolean <optional>
true
innerXML boolean <optional>
false
captureOffsets boolean <optional>
false
Source: