Skip to content

v1.0.3

Compare
Choose a tag to compare
@lexborisov lexborisov released this 24 Sep 12:42
· 186 commits to master since this release
  • [https://github.com/lexborisov/myhtml/commit/873d0fa2cbe8ec4a3b8a50b649506e791f0907c7] Fixed attributes processing bug. Not cleared temp values after processing attribute key. What's in rare cases lead to segfault
  • [https://github.com//issues/63] Fixes for tokenizer state problem with parse without build tree
  • [https://github.com//issues/66#issuecomment-247941324] Fixed problem with append nodes to "tag index" in formatting reconstruction algorithm
  • [https://github.com//issues/62] Fixed segfault if build without threads and used parse flag without process token
  • Changed rules for parse flag MyHTML_TREE_PARSE_FLAGS_SKIP_WHITESPACE_TOKEN. Now we skip ws tokens, but not for RCDATA, RAWTEXT, CDATA and PLAINTEXT
  • Added tree serialization by specification (see example)
  • Tested by 1 billion HTML pages (by commoncrawl.org)