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

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 14.10
    • None
    • Unknown

    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

              Unassigned Unassigned
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: