Details
-
Bug
-
Resolution: Fixed
-
Major
-
14.10
-
None
-
Unit
-
Unknown
-
N/A
-
N/A
-
Description
Right now these macros can be used, for example, inside a heading and if they contain block content, this will generate some XDOM that is invalid when rendered into HTML.
The idea is to convert the content to be always valid in an inline context, even if it means loosing some content. This is something we already do in other use cases, by using ParserUtils#convertToInline().
Attachments
Issue Links
- is duplicated by
-
XRENDERING-662 Include macro displays the included content in addition to the macro block when preceded by simple text without empty line
- Closed
-
XRENDERING-758 Include and display output extra paragraphs when used inline
- 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
-
XRENDERING-662 Include macro displays the included content in addition to the macro block when preceded by simple text without empty line
- Closed
-
XRENDERING-90 Add XDOM validation
- Open
- relates to
-
XWIKI-22715 Include and Display macros shouldn't duplicate the content of multiline content when used inline
- Closed