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: <aggregationResponse> <vanguardAssets>323328.33</vanguardAssets> <totalBalanceAsOfDate>2024-12-20T16:00:00.000-05:00</totalBalanceAsOfDate> <account> <accountName>Stam- 1234</accountName> <accountType>TRADITIONAL_IRA</accountType>...
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: <aggregationresponse> <vanguardassets>323328.33</vanguardassets> <totalbalanceasofdate>2024-12-20T16:00:00.000-05:00</totalbalanceasofdate> <account> <accountname>Stam- 1234</accountname> <accounttype>TRADITIONAL_IRA</accounttype>...