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

Handle tight lists #6

Open
bert-github opened this issue Jun 1, 2023 · 0 comments
Open

Handle tight lists #6

bert-github opened this issue Jun 1, 2023 · 0 comments

Comments

@bert-github
Copy link
Owner

If no items in a list are separated by a blank line, the <p> tags around text content should be omitted:

- Item 1
- Item 2

should give

<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>

Unlike

- Item 1

- Item 2

which gives

<ul>
<li><p>Item 1</p>
</li>
<li><p>Item 2</p>
</li>
</ul>

The blank line may occur anywhere in the list and affects all items, even those before it:

- Item 1
- Item 2
- ...
- Item 100

- Item 101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant