[xwiki/xwiki-commons] fd1c15: XCOMMONS-2276 Upgrade to HtmlCleaner 2.25
Branch: refs/heads/XCOMMONS-2265 Home: https://github.com/xwiki/xwiki-commons Commit: fd1c15160319910003a2e8a4d9d3858e4c3459c6 https://github.com/xwiki/xwiki-commons/commit/fd1c15160319910003a2e8a4d9d385... Author: Clemens Robbenhaar <c.robbenhaar@green-meadows.de> Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M xwiki-commons-core/xwiki-commons-xml/pom.xml M xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/DefaultHTMLCleaner.java M xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/internal/html/DefaultHTMLCleanerTest.java Log Message: ----------- XCOMMONS-2276 Upgrade to HtmlCleaner 2.25 - update to the release done today - the "setRecognizeUnicodeChars" does no longer needed to be set to "false", but kept at the default value of "true" after https://sourceforge.net/p/htmlcleaner/bugs/221/ is fixed - also update the tests to reflect the current behavior; most of them are likely improvenents, but also add a few cases where this is not so clear - especially the test keeping entitiy encoded curly braces had to be disabled, as this no longer works that way Commit: ca98d88e358c846bc0cd317ba760c6aaeeabe9b6 https://github.com/xwiki/xwiki-commons/commit/ca98d88e358c846bc0cd317ba760c6... Author: Clemens Robbenhaar <c.robbenhaar@green-meadows.de> Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/html/HTMLUtils.java Log Message: ----------- XCOMMONS-2265 HTML Encoded Line Feed character transformed in whitespace - remove the "clean double ampersand escape" workaround which is no longer necessary with HTMLCleaner 2.25 and even harmful in the use case where users want to have their amperand encoded, e.g. when displaying the encoded form in wiki pages Commit: bb86eae74123215011ffdeb722116d87ba681886 https://github.com/xwiki/xwiki-commons/commit/bb86eae74123215011ffdeb722116d... Author: Clemens Robbenhaar <c.robbenhaar@green-meadows.de> Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/DefaultHTMLCleaner.java Log Message: ----------- XCOMMONS-2276 Upgrade to HtmlCleaner 2.25 - put back the ecplicit call to "setRecognizeUnicodeChars(true)" and add a comment why Commit: 046ac13799cce9fa1248dda4edde4315de3e7f19 https://github.com/xwiki/xwiki-commons/commit/046ac13799cce9fa1248dda4edde43... Author: Clemens Robbenhaar <c.robbenhaar@green-meadows.de> Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/internal/html/DefaultHTMLCleanerTest.java Log Message: ----------- XCOMMONS-2276 Upgrade to HtmlCleaner 2.25 - add more comments to tests to explain what they actually test and why - changed one test to use different test text to attribute values and text nodes - also fixed typos in test comments Commit: c6ad19d0ef862be77fd665543d201843485af218 https://github.com/xwiki/xwiki-commons/commit/c6ad19d0ef862be77fd665543d2018... Author: Clemens Robbenhaar <c.robbenhaar@green-meadows.de> Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/internal/html/DefaultHTMLCleanerTest.java Log Message: ----------- XCOMMONS-2276 Upgrade to HtmlCleaner 2.25 - removed one test that only documents the behavior of the html cleaner Commit: 08ca35d4a037d9c57dd6cb183585ed8688581777 https://github.com/xwiki/xwiki-commons/commit/08ca35d4a037d9c57dd6cb183585ed... Author: Simon Urli <simon.urli@xwiki.com> Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M xwiki-commons-core/xwiki-commons-xml/pom.xml M xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/internal/html/DefaultHTMLCleanerTest.java Log Message: ----------- XCOMMONS-2276 Upgrade to HtmlCleaner 2.29 * Upgrade to HtmlCleaner 2.29 and update tests Compare: https://github.com/xwiki/xwiki-commons/compare/ce8d7f421ce7...08ca35d4a037 To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-commons/settings/notifications
participants (1)
-
XWiki Notifications