Branch: refs/heads/stable-16.4.x Home: https://github.com/xwiki/xwiki-platform Commit: b95a28241b19b9628308414b9a67bd7e2d1952e0 https://github.com/xwiki/xwiki-platform/commit/b95a28241b19b9628308414b9a67b... Author: Michael Hamann <michael.hamann@xwiki.com> Date: 2025-02-27 (Thu, 27 Feb 2025) Changed paths: M xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-include/src/main/java/org/xwiki/rendering/internal/macro/include/AbstractIncludeMacro.java M xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-include/src/test/java/org/xwiki/rendering/internal/macro/include/IncludeMacroTest.java Log Message: ----------- XWIKI-18687: The first heading is only partially excluded and transformed into content on Include/Display Macro when including a section * Properly remove the first heading when including a section. * Adjust the test case to cover headings with several words. (cherry picked from commit 4450d4e2a2d98076308a21b9b3ac8e5b0f1c283d) To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications