HTML parser To dos2025/04/022024/10/13Everything in mind for the future of the HTML parser.todosHTMLparser"html/html_parser_todos.html"

HTML parser To dos


Bugs

  1. 1.Infinite loop on non terminated trees

Improvements

Global

Performance

  1. 1.Add a flag which act like a priority which will permit to set where a node will have to be append in one specific point of time. That way you append at the very last and avoid issue when you wan a node to be at the end of a root node so have to be careful on append at the very last. it will permit to be somewhat unliked from the codepath iterative particularity, in clear it will avoid bugs AND have better perf
  1. 1.We do have too many node per document, for example a style node will have all the character being a node, we should narrow the number on certain node type like the style node and treat the content as a string text.