Branch: refs/heads/feature-deploy-html-cleaner-upgrade Home: https://github.com/xwiki/xwiki-commons Commit: 9b7bf806ae12f14f7acec28f656291646227d407 https://github.com/xwiki/xwiki-commons/commit/9b7bf806ae12f14f7acec28f656291... Author: Clemens Robbenhaar <[email protected]> Date: 2024-03-27 (Wed, 27 Mar 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: a4bc4be93f4089d1aebdd8ec1f60d2a06b6fd773 https://github.com/xwiki/xwiki-commons/commit/a4bc4be93f4089d1aebdd8ec1f60d2... Author: Clemens Robbenhaar <[email protected]> Date: 2024-03-27 (Wed, 27 Mar 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: 800d3d6e74827611882771ac557ee3665274a3a3 https://github.com/xwiki/xwiki-commons/commit/800d3d6e74827611882771ac557ee3... Author: Clemens Robbenhaar <[email protected]> Date: 2024-03-27 (Wed, 27 Mar 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: 054ddd91d3fee8b9c554706f10d58e55f0faaef1 https://github.com/xwiki/xwiki-commons/commit/054ddd91d3fee8b9c554706f10d58e... Author: Clemens Robbenhaar <[email protected]> Date: 2024-03-27 (Wed, 27 Mar 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: a838574d54878d98e5e86e8e9e1061efca980a57 https://github.com/xwiki/xwiki-commons/commit/a838574d54878d98e5e86e8e9e1061... Author: Clemens Robbenhaar <[email protected]> Date: 2024-03-27 (Wed, 27 Mar 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: 4b95be445ee80ccecb2c8967efba885a538fa8ca https://github.com/xwiki/xwiki-commons/commit/4b95be445ee80ccecb2c8967efba88... Author: Simon Urli <[email protected]> Date: 2024-03-27 (Wed, 27 Mar 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 Commit: 446bed48c7043eefe978fca567d1e70e746a937b https://github.com/xwiki/xwiki-commons/commit/446bed48c7043eefe978fca567d1e7... Author: Simon Urli <[email protected]> Date: 2024-03-27 (Wed, 27 Mar 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.29 * Clarify the test using @mflorea's comment information Commit: e260d7c6ddb8d8e2098760c4c51a12a3514273ce https://github.com/xwiki/xwiki-commons/commit/e260d7c6ddb8d8e2098760c4c51a12... Author: Simon Urli <[email protected]> Date: 2024-03-27 (Wed, 27 Mar 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.29 * Change remaining tests Commit: c07880cea26930a7bbe29402d01bb83f6c0969fd https://github.com/xwiki/xwiki-commons/commit/c07880cea26930a7bbe29402d01bb8... Author: Simon Urli <[email protected]> Date: 2024-03-27 (Wed, 27 Mar 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.29 * Remove unnecessary comment Commit: ba1d8dd7ce7bb492083ce2d3b3fe28bf7a8819ab https://github.com/xwiki/xwiki-commons/commit/ba1d8dd7ce7bb492083ce2d3b3fe28... Author: Simon Urli <[email protected]> Date: 2024-03-27 (Wed, 27 Mar 2024) Changed paths: M xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/DefaultHTMLCleaner.java R xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/filter/ControlCharactersFilter.java M xwiki-commons-core/xwiki-commons-xml/src/main/resources/META-INF/components.txt M xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/html/DefaultHTMLCleanerComponentList.java M xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/html/HTMLUtilsTest.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.29 * Remove now unnecessary filter Commit: ac44cf56634d8ff1ecf77b443ec32cdc02b126ae https://github.com/xwiki/xwiki-commons/commit/ac44cf56634d8ff1ecf77b443ec32c... Author: Simon Urli <[email protected]> Date: 2024-03-27 (Wed, 27 Mar 2024) Changed paths: M xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/XWikiHTML5TagProvider.java M xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/internal/html/DefaultHTMLCleanerTest.java M xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/internal/html/HTML5HTMLCleanerTest.java Log Message: ----------- XCOMMONS-2276: Upgrade to HtmlCleaner 2.29 * Remove now unnecessary workarounds and fix template test Co-authored-by: Michael Hamann <[email protected]> Commit: 359579ba7ba1a4efd90581763f2890a1f3a04b2d https://github.com/xwiki/xwiki-commons/commit/359579ba7ba1a4efd90581763f2890... Author: Simon Urli <[email protected]> Date: 2024-03-27 (Wed, 27 Mar 2024) Changed paths: M xwiki-commons-core/xwiki-commons-xml/src/test/java/org/xwiki/xml/internal/html/HTML5HTMLCleanerTest.java Log Message: ----------- XCOMMONS-2276: Upgrade to HtmlCleaner 2.29 * Revert experiment in test Commit: a43f07e26172730bd33b7f74d81264d7c2bd4033 https://github.com/xwiki/xwiki-commons/commit/a43f07e26172730bd33b7f74d81264... Author: Simon Urli <[email protected]> Date: 2024-03-27 (Wed, 27 Mar 2024) Changed paths: M xwiki-commons-core/xwiki-commons-xml/src/main/java/org/xwiki/xml/internal/html/XWikiHTML5TagProvider.java Log Message: ----------- XCOMMONS-2276: Upgrade to HtmlCleaner 2.29 * Update comments and minor style refactoring Compare: https://github.com/xwiki/xwiki-commons/compare/3ca456d210e6...a43f07e26172 To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-commons/settings/notifications