Skip to content

v1.4.0

Choose a tag to compare

@hownowstephen hownowstephen released this 21 Oct 18:42
9dcbf81

What's Changed

ConvertNode converts a document you've already parsed with html.Parse, so callers holding the tree skip a second parse.

New

  • ConvertNode(root *html.Node, opts ...Option) converts a parsed tree and leaves it unchanged. ConvertReader now parses and calls it, so the two give the same output (#116)

Full Changelog: v1.3.0...v1.4.0