Branch: refs/heads/master
Home:
https://github.com/xwiki/xwiki-rendering
Commit: 7a59e3190be9256aa2d007981cef155ff160e912
https://github.com/xwiki/xwiki-rendering/commit/7a59e3190be9256aa2d007981ce…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-05-08 (Thu, 08 May 2025)
Changed paths:
M
xwiki-rendering-macros/xwiki-rendering-macro-footnotes/src/main/java/org/xwiki/rendering/internal/macro/footnote/FootnoteMacro.java
M
xwiki-rendering-macros/xwiki-rendering-macro-footnotes/src/main/java/org/xwiki/rendering/internal/macro/footnote/PutFootnotesMacro.java
M
xwiki-rendering-macros/xwiki-rendering-macro-footnotes/src/test/resources/macrofootnote6.test
M
xwiki-rendering-standalone/src/test/java/org/xwiki/rendering/example/ExampleTest.java
Log Message:
-----------
XRENDERING-705: Footnote macro produces inline content in standalone mode
* Wrap the footnote content in a paragraph when the macro is standalone.
* Adapt tests to expect the wrapping paragraph.
While this fixes the immediate problem of invalid HTML, it isn't nice to
have a standalone footnote macro in the WYSIWYG editor. To fix this, a
possible solution tracked in XRENDERING-784 is that macros should have a
way to indicate their preferred mode (inline or standalone), and the
WYSIWYG editor should honor this preferred mode.
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-rendering/settings/notifications