DocumentType.data
property rendering (GH #45).<html>
and <body>
elements (GH #44).<form>
processing in <template>
(GH #40).<template>
serialization problem with custom tree adapter (GH #38).encodeHtmlEntities
option.<template>
supportparseFragment
now uses <template>
as default contextElement
. This leads to the more "forgiving" parsing manner.TreeSerializer
was renamed to Serializer
. However, serializer is accessible as parse5.TreeSerializer
for backward compatibility .htmlparser2
tree format (DOM Level1 node emulation).jsdom
internal use only.document
element for fragment parsing (required by jsdom)..travis.yml
, .editorconfig
) are removed from NPM package.require()
.<pre>
.SYSTEM
-only DOCTYPE
serialization.DOCTYPE
IDs.appendChild
in htmlparser2
tree adapter.<menuitem>
handling in <body>
.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.