Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tables): tables are properly rendered when followed by a single l…
…inebreak and a list Closes #443
- Loading branch information
Showing
9 changed files
with
99 additions
and
9 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
test/features/tables/#443.2.table-followed-by-list-does-not-parse-correctly.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>Tables</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td><strong>col 3 is</strong></td> | ||
</tr> | ||
<tr> | ||
<td>col 2 is</td> | ||
</tr> | ||
<tr> | ||
<td>zebra stripes</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<ol> | ||
<li>test</li> | ||
</ol> |
7 changes: 7 additions & 0 deletions
7
test/features/tables/#443.2.table-followed-by-list-does-not-parse-correctly.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
| Tables | | ||
| ------------- | | ||
| **col 3 is** | | ||
| col 2 is | | ||
| zebra stripes | | ||
|
||
1. test |
29 changes: 29 additions & 0 deletions
29
test/features/tables/#443.table-followed-by-list-does-not-parse-correctly.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>Tables</th> | ||
<th style="text-align:center;">Are</th> | ||
<th style="text-align:right;">Cool</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td><strong>col 3 is</strong></td> | ||
<td style="text-align:center;">right-aligned</td> | ||
<td style="text-align:right;">$1600</td> | ||
</tr> | ||
<tr> | ||
<td>col 2 is</td> | ||
<td style="text-align:center;"><em>centered</em></td> | ||
<td style="text-align:right;">$12</td> | ||
</tr> | ||
<tr> | ||
<td>zebra stripes</td> | ||
<td style="text-align:center;">are neat</td> | ||
<td style="text-align:right;">$1</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<ol> | ||
<li>test</li> | ||
</ol> |
7 changes: 7 additions & 0 deletions
7
test/features/tables/#443.table-followed-by-list-does-not-parse-correctly.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
| Tables | Are | Cool | | ||
| ------------- |:-------------:| -----:| | ||
| **col 3 is** | right-aligned | $1600 | | ||
| col 2 is | *centered* | $12 | | ||
| zebra stripes | are neat | $1 | | ||
|
||
1. test |