fb55/htmlparser2: The fast & forgiving HTML and XML parser

3801
STARS
50
WATCHERS
371
FORKS
2
ISSUES

htmlparser2's Language Statistics

fb55's Other Repos

Star history of htmlparser2
Issue history of htmlparser2

htmlparser2 Recent Issues

Issue Title State Comments Created Date Updated Date Closed Date
Parsing breaks after `<script>` or `<style>` block, followed by an entity (`&blah;`) closed 6 2023-02-26 2023-03-21 2023-03-22
When bundled, source maps are inlined rather than put in a separate file closed 5 2023-01-25 2023-03-21 2023-02-07
Incorrect parsing of the tag body in stream mode closed 1 2023-01-19 2023-03-21 2023-01-19
Duplicate identifier 'type'. closed 1 2022-12-27 2023-03-21 2022-12-27
Parser in xml mode considers whitespaces as attributes closed 2 2022-11-28 2023-03-08 2022-11-30
onopentag attributes doesn't contain quote character or void attrs closed 2 2022-11-23 2023-03-21 2022-11-30
Get the line number of line that is currently being parsed closed 1 2022-10-28 2023-03-21 2022-12-02
htmlparser2-parse5-tree-adapter closed 1 2022-10-18 2023-03-21 2022-10-18
Problem with source maps closed 2 2022-09-28 2023-03-01 2022-10-01
Changed behaviour of parseDocument closed 1 2022-09-16 2023-03-27 2022-12-02
[NextJS] Compilation fails during build closed 4 2022-09-04 2023-03-27 2022-09-06
error TS1005: ',' expected. closed 1 2022-08-19 2023-03-27 2022-08-19
If title tag is around an iframe tag, then iframe is not recognized as a tag. closed 3 2022-08-18 2023-03-27 2022-08-19
err: TypeError: parseDocument is not a function closed 2 2022-08-13 2023-03-21 2022-08-13
Is it possible to prevent certain symbols from getting encoded? closed 2 2022-07-20 2023-03-21 2022-07-26
Old Import statement of DomUtils closed 3 2022-07-17 2023-03-27 2022-08-05
since [email protected] type declaration requires ts >= 4.5 closed 4 2022-07-15 2023-03-21 2022-07-25
Failed to Compile, with this error. closed 8 2022-07-06 2023-03-14 2022-07-13
why build scripts contain `echo '{\"type\":\"module\"}' > lib/esm/package.json` closed 4 2022-07-05 2023-03-27 2022-07-25
Is there a way to index HTML tags ? closed 2 2022-06-23 2023-03-01 2022-06-26
v8.0.1 typing incompatible with `cheerio.load` closed 1 2022-05-14 2023-03-27 2022-05-19
Feature request for .innerHtml or something alike closed 2 2022-05-04 2023-03-01 2022-05-05
Bad example on front page closed 2 2022-05-04 2023-03-27 2022-05-06
Why package.json to add the exports field!!! closed 3 2022-04-27 2023-03-21 2022-04-27
the tag after custom components become the children of custom components,it shoule be the same level with custom components closed 1 2022-04-27 2023-03-01 2022-04-27
lowerCaseAttributeNames on clientSide closed 2 2022-04-01 2023-03-26 2022-04-07
How do I add custom attributes to each node closed 2 2022-03-15 2023-03-21 2022-03-15
HTML comments within <style> element not recognized closed 1 2022-03-12 2023-03-28 2022-04-03
openImpliesClose logic seems to be tripped up by intervening tags closed 1 2022-01-13 2023-03-27 2022-04-23
Handling of "misnested" formatting tags does not match standard HTML behavior closed 5 2022-01-13 2023-03-01 2022-04-23
Characters allowed at the beginning of XML tag names are overly broad closed 1 2022-01-03 2023-03-21 2022-12-02
when parse "character entity", the textNode's data was wrong closed 2 2021-12-24 2023-03-27 2021-12-24
how to traversal the AST,or How to get nodes through classname? closed 1 2021-12-17 2023-03-25 2021-12-17
"value < 1" parsed error when use xmlMode:true closed 1 2021-12-01 2023-03-01 2021-12-17
Parsing youtube rss feed missing alot of data closed 2 2021-11-19 2023-03-27 2021-11-28
Self closing tags with periods in their name are parsed nested instead of as siblings closed 2 2021-11-18 2023-03-27 2021-11-19
Parsing breaks if attribute has double quotes inside. (needed for data atrribute) closed 0 2021-11-16 2023-03-27 2021-11-16
token type was unexpectedly EndTag closed 2 2021-11-04 2023-03-21 2021-11-11
Parsing text with "&amp;" throws a Uncaught TypeError: Cannot read properties of undefined (reading '0') closed 1 2021-11-03 2023-03-06 2021-11-03
Non-standard handling of `crlf` line breaks closed 3 2021-10-28 2023-03-21 2021-10-28
Regression in #914 closed 2 2021-10-22 2022-01-14 2021-11-11
Some Boolean properties are indistinguishable from some plain empty string properties closed 1 2021-10-08 2023-03-01 2021-11-11
Add support for DOM standard interfaces open 2 2021-10-06 2023-03-27 -
Add support for DOM standard interfaces open 0 2021-10-06 2021-11-04 -
Can't recognize end tag correctly. closed 1 2021-09-24 2023-03-22 2021-09-25
startIndex not updated after a self-closing XML tag closed 1 2021-09-04 2023-03-01 2021-09-11
how to operate the ast, and convert new ast to html/vue? closed 2 2021-09-01 2023-03-01 2021-09-23
endIndex less than startIndex for implied tags closed 4 2021-08-05 2023-03-27 2021-08-20
Is it possible to get the details of attributes? closed 1 2021-08-03 2023-03-28 2021-08-27
BUG: onopentag and onclosetag has a few issues with Tag button closed 1 2021-07-26 2023-03-27 2021-07-26