Overview of the internal HTML parser
mainThe project includes a custom HTML parser written in TypeScript, based on node-html-parser. This version is specifically modified to work with the WorkerDOM model (/src/worker-thread/dom).
Key modifications from the original node-html-parser include:
- A replaced node element model to match the WorkerDOM implementation.
- Removal of all previous node class declarations.
- Removal of the
CSS Matcherclass. - Support for parsing HTML Comment nodes (which were previously ignored).
- Decoding of numeric entities in text nodes.