Skip to content

Commit

Permalink
Test case and change note for parser improvements incl tag flyweight
Browse files Browse the repository at this point in the history
Fixes #1646
  • Loading branch information
jhy committed Sep 27, 2021
1 parent 4b46397 commit b14eb2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ jsoup changelog
<https://github.com/jhy/jsoup/issues/1644>

* Improvement: when parsing custom tags (in HTML or XML), added a flyweight cache on Tag.valueOf(name) to reduce
memory overhead when many tags are repeated.

memory overhead when many tags are repeated. Also tuned other areas of the parser when many very deeply stacked
custom elements were present.
<https://github.com/jhy/jsoup/issues/1646>

* Bugfix: when tracking errors or checking for validity in the Cleaner, errors were incorrectly raised for missing
optional closing tags.
Expand Down
Binary file added src/test/resources/fuzztests/1646.html.gz
Binary file not shown.

0 comments on commit b14eb2a

Please sign in to comment.