Details
-
Bug
-
Resolution: Unresolved
-
Blocker
-
17.2.0, 16.10.6
-
Unknown
-
Description
Steps to reproduce:
- Import the attached XAR. It contains a wiki macro that uses the wikimacrocontent macro in an inline context even when the macro is standalone.
- Open the imported page.
Expected result:
In the first example, the version marker and the content is on the same line.
Actual result:
The version marker and the content are on different lines, the produced HTML is invalid.
A bit of debugging reveals that createXDOM is called with inline set to true but the content of the wiki macro has been prepared in standalone mode as the wiki macro itself is used standalone.
I think it is a problem that the macro content parser ignores the inline flag when the content has been prepared. This could possibly also affect other macros that use the content parser directly.
Attachments
Issue Links
- is caused by
-
XWIKI-23012 Prepare the content of a wiki macro call
-
- Closed
-