I have a Java method that uses HTMLCleaner version 2.4. Due to high CVE vulnerabilities, I need to update HTMLCleaner to version 2.29. However, the generated HTML output from version 2.29 contains nested tags, which is incorrect for my use case. For example, given the input:
I have a Java method that uses HTMLCleaner version 2.4. Due to high CVE vulnerabilities, I need to update HTMLCleaner to version 2.29. However, the generated HTML output from version 2.29 contains nested tags, which is incorrect for my use case. For example, given the input:
The output using version 2.4 is:
While the output with version 2.29 is with nested tags:
this is my code:
how to make the same code with version 2.29 return the same output as 2.4
this start sincve version 2.19
here stackoverflow issue:
https://stackoverflow.com/questions/79305174/resolving-nested-tags-issue-in-html-output-when-upgrading-htmlcleaner-from-versi
Last edit: Bilal Taha 2024-12-30