parse5

HTML parsing/serialization toolset for Node.js. WHATWG HTML Living Standard (aka HTML5)-compliant.

MIT License

Downloads
245.7M
Stars
3.6K
Committers
39

Bot releases are hidden (Show)

parse5 - v2.1.2

Published by inikulin almost 9 years ago

  • Fixed: SAX parser silently exits on big files (GH #97).
parse5 - v2.1.1

Published by inikulin almost 9 years ago

  • Fixed: location info not attached for empty attributes (GH #96) (by @yyx990803).
parse5 - v2.1.0

Published by inikulin almost 9 years ago

  • Added: location info for attributes (GH #43) (by @sakagg and @yyx990803).
  • Fixed: parseFragment with locationInfo regression when parsing <template>(GH #90) (by @yyx990803).
parse5 - v2.0.2

Published by inikulin almost 9 years ago

  • Fixed: yet another case of incorrect parseFragment arguments fallback (GH #84).
parse5 - v2.0.1

Published by inikulin almost 9 years ago

  • Fixed: parseFragment arguments processing (GH #82).
parse5 - v2.0.0

Published by inikulin almost 9 years ago

parse5 - v1.5.1

Published by inikulin almost 9 years ago

  • Fixed: Qualified tag name emission in Serializer (GH #79).
parse5 - v1.5.0

Published by inikulin over 9 years ago

  • Added: Location info for the element start and end tags (by @sakagg).
parse5 - v1.4.2

Published by inikulin over 9 years ago

  • Fixed: htmlparser2 tree adapter DocumentType.data property rendering (GH #45).
parse5 - v1.4.1

Published by inikulin over 9 years ago

  • Fixed: Location info handling for the implicitly generated <html> and <body> elements (GH #44).
parse5 - v1.4.0

Published by inikulin over 9 years ago

parse5 - v1.3.2

Published by inikulin over 9 years ago

  • Fixed: <form> processing in <template> (GH #40).
parse5 - v1.3.1

Published by inikulin over 9 years ago

  • Fixed: text node in <template> serialization problem with custom tree adapter (GH #38).
parse5 - v1.3.0

Published by inikulin almost 10 years ago

  • Added: Serializer encodeHtmlEntities option.

From 1.2.0:

  • Added: <template> support
  • parseFragment 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 .
parse5 - v1.1.6

Published by inikulin almost 10 years ago

  • Fixed: apply latest changes to the htmlparser2 tree format (DOM Level1 node emulation).
parse5 - v1.1.5

Published by inikulin about 10 years ago

  • Added: jsdom-specific parser with scripting support. Undocumented for jsdom internal use only.
parse5 -

Published by inikulin about 10 years ago

  • Added: logo
  • Fixed: use fake document element for fragment parsing (required by jsdom).
parse5 -

Published by inikulin about 10 years ago

  • Development files (e.g. .travis.yml, .editorconfig) are removed from NPM package.
parse5 - v1.1.2

Published by inikulin about 10 years ago

  • Fixed: crash on Linux due to upper-case leading character in module name used in require().
parse5 - v1.1.1

Published by inikulin about 10 years ago

  • Added: SimpleApiParser.
  • Fixed: new line serialization in <pre>.
  • Fixed: SYSTEM-only DOCTYPE serialization.
  • Fixed: quotes serialization in DOCTYPE IDs.