[xwiki/xwiki-rendering] 3a912d: XRENDERING-619: Lists with nested paragraphs are i...
Branch: refs/heads/stable-16.4.x Home: https://github.com/xwiki/xwiki-rendering Commit: 3a912d81e4cf9b27e307fa11279c3c6560661784 https://github.com/xwiki/xwiki-rendering/commit/3a912d81e4cf9b27e307fa11279c... Author: Michael Hamann <michael.hamann@xwiki.com> Date: 2024-11-29 (Fri, 29 Nov 2024) Changed paths: A xwiki-rendering-integration-tests/src/test/resources/simple/list/list15.test A xwiki-rendering-integration-tests/src/test/resources/simple/list/list16.test M xwiki-rendering-syntaxes/xwiki-rendering-syntax-xwiki20/src/main/java/org/xwiki/rendering/internal/renderer/xwiki20/ListItemStackingInlineContentChainingListener.java M xwiki-rendering-syntaxes/xwiki-rendering-syntax-xwiki20/src/main/java/org/xwiki/rendering/internal/renderer/xwiki20/XWikiSyntaxChainingRenderer.java Log Message: ----------- XRENDERING-619: Lists with nested paragraphs are incorrectly converted to XWiki syntax (#307) * Add an integration test to test the behavior * Make the detection of first element rendered more robust. * Avoid adding group syntax when not needed. * Add another test to verify that groups are actually added. * Fix the MessageMacroTest to expect more line breaks - the new line breaks are good, "content" is in a new paragraph. (cherry picked from commit 315fcf96bf532c754ec64b648d70a19da2b40b0e) To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-rendering/settings/notifications
participants (1)
-
XWiki Notifications