HTML parsing/serialization toolset for Node.js. WHATWG HTML Living Standard (aka HTML5)-compliant.
MIT License
Bot releases are hidden (Show)
Published by inikulin almost 9 years ago
start
and end
were renamed to startOffset
and endOffset
respectively.SimpleApiParser
was renamed to SAXParser.Parser
class.Serializer
class.decodeHtmlEntities
and encodeHtmlEntities
options. (GH #75).default
tree adapter now stores <template>
content in template.content
property instead of template.childNodes[0]
.Published by inikulin over 9 years ago
Published by inikulin over 9 years ago
Published by inikulin almost 10 years ago
encodeHtmlEntities
option.From 1.2.0:
<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 .Published by inikulin almost 10 years ago
htmlparser2
tree format (DOM Level1 node emulation).document
element for fragment parsing (required by jsdom).Published by inikulin about 10 years ago
require()
.Published by inikulin about 10 years ago
<pre>
.SYSTEM
-only DOCTYPE
serialization.DOCTYPE
IDs.