Skip to content

v0.3.0

Compare
Choose a tag to compare
@lomirus lomirus released this 29 Jan 10:44
· 60 commits to master since this release

Refactor

  • Now parse() returns a Result<Vec<Node>, String> instead of Vec<Node> for better error handling.

Fix

  • In previous version, parse sometimes may return an unexpected result but without any error message. And now any currently known error will be delivered.
  • Tag string in <script> or <style> cannot be parsed correctly. For example, <script>"<div></div>"</script> would be parsed as a <div> element in the <script> instead of the plain string.