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

@ -7,11 +7,47 @@
| Table |
|-------|
| <!-- |
|comment|
| cell |
| --> |
| Table |
|-------|
| <!-- \
\
--> |
| Table |
|------------|
| <!-- |
| `{MD038} ` |
| --> |
| Table |
|----------------|
| <!--
`{MD038} ` --> |
| cell |
| Table |
|----------------|
| <!-- \
`{MD038} ` --> |
| cell |
| Table | Table |
|-------|-------|
| cell | <!-- |
| cell | cell |
| cell | --> |
| Table | Table |
|-------|------------|
| cell | <!-- |
| cell | `{MD038} ` |
| cell | --> |
| Table | Table |
|-------|----------------|
| cell | <!--
| cell | `{MD038} ` --> |
| cell | cell |
| Table | Table |
|-------|----------------|
| cell | <!-- \
| cell | `{MD038} ` --> |
| cell | cell |