Description
Steps to reproduce
- Create page Sandbox.P1.WebHome with the following content:
test
{{include reference="Sandbox.P1.P2.WebHome"/}}
- Create page Sandbox.P1.P2.WebHome with content "P2 content"
- Edit Sandbox.P1.WebHome in wysiwyg
Actual result
- The editor shows text "test" followed by "macro:include" followed by the content of page Sandbox.P1.P2.WebHome.
- When hitting the "source" button, the content of Sandbox.P1.P2.WebHome is present in the source.
Expected result
The editor shows simply "test" followed by "macro:include" without the included content itself.
Attachments
Issue Links
- duplicates
-
XWIKI-21125 Include and Display macros should generate inline content when used in an inline context
- Closed
- is related to
-
XRENDERING-517 Invalid HTML generated when a macro that is called inline produces block level content
- Open
-
XWIKI-13997 Page/editor corruption caused by inlined display/include macro that references block content
- Open
-
XWIKI-22349 Sometimes Macro insertion eats what comes next
- Open
- relates to
-
XWIKI-21125 Include and Display macros should generate inline content when used in an inline context
- Closed