Skip to content

Multi-line list item content misinterpreted as indented code block in some cases #360

Open
@rock3r

Description

@rock3r
1.  **Just some random text**

    *   **Blah blah** lorem ipsum.

The dingus renders this correctly, as per example 108 in the specs.

Expected behavior:

<ol>
<li>
<p><strong>Just some random text</strong></p>
<ul>
<li><strong>Blah blah</strong> lorem ipsum.</li>
</ul>
</li>
</ol>

Actual behavior:

<ol>
<li><strong>Just some random text</strong></li>
</ol>
<pre><code>*   **Blah blah** lorem ipsum.
</code></pre>

Note that the actual HTML is "made up", as I am only working with the parsed AST and never render to HTML.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions