Change HTML comment content sanitization to avoid breaking list item indent, respect table cell content rules (fixes #563).

This commit is contained in:
David Anson 2022-10-14 20:59:42 -07:00
parent 7f8962c882
commit f0bb4c639b
8 changed files with 593 additions and 63 deletions

View 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}