Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-773

Leading and final new lines should not be discarded from inline macro content

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 15.10.16, 16.10.3, 17.0.0
    • Syntax - xwiki/2.2
    • None
    • Unknown

    Description

      The following XWiki syntax:

      This is some code: {{code language="none"}}$ command
      {{/code}}{{code language="none"}}answer on its own line
      {{/code}} text after
      

      renders all on one line:

      Expected result: three lines:

      (this was obtained by adding an extra new line character at the end of each code macro content)

      Attachments

        Activity

          People

            Unassigned Unassigned
            rjakse Raphaël Jakse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: