Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rock3r opened this issue Jan 30, 2025 · 0 comments
Labels

Comments

@rock3r
Copy link

rock3r commented Jan 30, 2025

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.

@rock3r rock3r added the bug label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant