Uploaded image for project: 'Markdown Syntax'
  1. Markdown Syntax
  2. MARKDOWN-133

Macro with empty content is read back without content in CommonMark Markdown 1.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 8.10.0
    • 8.9.1
    • markdown/1.2
    • None
    • Unknown

    Description

      When rendering the xwiki/2.1 content

      {{foo}}{{/foo}}

      to markdown/1.2 and parsing it back, the macro has no content anymore (it's read back as

      {{foo/}}

      ). Some macros behave differently when they have empty content and when they have no content.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: