Skip to content
New issue

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

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

Already on GitHub? # to your account

Regression: a list is broken if an item starts with a fenced code block #485

Closed
heavywatal opened this issue Sep 5, 2018 · 0 comments
Closed

Comments

@heavywatal
Copy link

Input:

-   ```
    foo
    ```

-   bar

Expected output (the first item has <pre>):

<ul>
<li><pre><code>foo
</code></pre></li>

<li><p>bar</p></li>
</ul>

New output since f1f45ab (the first item lacks <pre>; the second item is not recognized as an item):

<ul>
<li><code>
foo
</code>

-   bar</li>
</ul>
aignas pushed a commit to aignas/blackfriday that referenced this issue Jan 18, 2019
rtfb pushed a commit that referenced this issue Jan 24, 2019
This attempts to fix #495 and #485.

Note the test cases which were added at the bottom of the list. The first added test case was passing even before the changes, but the second was not.
@rtfb rtfb closed this as completed Jan 24, 2019
willdollman pushed a commit to willdollman/blackfriday that referenced this issue Feb 27, 2021
This attempts to fix russross#495 and russross#485.

Note the test cases which were added at the bottom of the list. The first added test case was passing even before the changes, but the second was not.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants