mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-03 14:38:49 +01:00
Change HTML comment content sanitization to avoid breaking list item indent, respect table cell content rules (fixes #563).
This commit is contained in:
parent
7f8962c882
commit
f0bb4c639b
8 changed files with 593 additions and 63 deletions
55
test/html-comment-in-list-item.md
Normal file
55
test/html-comment-in-list-item.md
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
# HTML Comment in List Item
|
||||
|
||||
- item
|
||||
|
||||
<!--
|
||||
-->
|
||||
|
||||
- item
|
||||
|
||||
x<!--
|
||||
-->
|
||||
|
||||
- item
|
||||
|
||||
<!--
|
||||
-->x
|
||||
|
||||
- item
|
||||
|
||||
x<!--
|
||||
x
|
||||
-->x
|
||||
|
||||
- item
|
||||
|
||||
```html
|
||||
<!--
|
||||
-->
|
||||
```
|
||||
|
||||
- item
|
||||
|
||||
```html
|
||||
x<!--
|
||||
-->
|
||||
```
|
||||
|
||||
- item
|
||||
|
||||
```html
|
||||
<!--
|
||||
-->x
|
||||
```
|
||||
|
||||
- item
|
||||
|
||||
```html
|
||||
x<!--
|
||||
x
|
||||
-->x
|
||||
```
|
||||
|
||||
- item
|
||||
|
||||
Placeholder issue {MD047}
|
||||
Loading…
Add table
Add a link
Reference in a new issue