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

Inline macro located at the beginning of a non-first paragraph of a list item gets a truncated name in CommonMark Markdown 1.2

    XMLWordPrintable

Details

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

    Description

      When an inline macro is the first content of a paragraph that isn't the first one of a list item, the macro name and parameters are not parsed correctly.

      Steps to reproduce: parse the following markdown/1.2 content:

      * a
      
        {{info title="b"/}}
      

      Expected: an info macro with the parameter title=b.
      Actual: a macro named in with a parameter fo= (the list item indentation is not taken into account when reading the macro).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: