Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-21125

Include and Display macros should generate inline content when used in an inline context

    XMLWordPrintable

Details

    • 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

          Activity

            People

              MichaelHamann Michael Hamann
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: