npm jsdom 0.6.0

latest releases: 31.0.0, 30.1.3, 30.1.2...
13 years ago

Integrated a new HTML parser, htmlparser2, from fb55. This is an actively maintained and much less buggy parser, fixing many of our parsing issues, including:

  • Parsing elements with optional closing tags, like <p> or <td>.
  • The innerHTML of <script> tags no longer cuts off the first character.
  • Empty attributes now have "" as their value instead of the attribute name.
  • Multiline attributes no longer get horribly mangled.
  • Attribute names can now be any value allowed by HTML5, including crazy things like ^.
  • Attribute values can now contain any value allowed by HTML5, including e.g. > and <.

Don't miss a new jsdom release

NewReleases is sending notifications on new releases.