Skip to content

Non-empty blank lines in fenced code ignored when in lists #212

Description

@wooorm

Given that spaces and such in fenced code are represented in the output (https://spec.commonmark.org/0.29/#example-99), that should also be the case for fenced code in lists.

For (␠ represents a space in these examples):

- ```
␠␠␠␠
  ```

```
␠␠
```

Actual (removed lines) / expected (added lines):

 <ul>
 <li>
-<pre><code>
+<pre><code>␠␠
 </code></pre>
 </li>
 </ul>
 <pre><code>␠␠
 </code></pre>

See Dingus

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions