Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
test(gfm/table): add table_following_text testcase
  • Loading branch information
EmmetZC committed Nov 23, 2021
commit 05417a1f5cc99be6c4c2ee924c79e69e82f1aff8
38 changes: 38 additions & 0 deletions test/specs/new/table_following_text.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<p>hello world</p>
<table>
<thead>
<tr>
<th>abc</th>
<th>def</th>
</tr>
</thead>
<tbody>
<tr>
<td>bar</td>
<td>foo</td>
</tr>
<tr>
<td>baz</td>
<td>boo</td>
</tr>
</tbody>
</table>
<p>hello world with empty line</p>
<table>
<thead>
<tr>
<th>abc</th>
<th>def</th>
</tr>
</thead>
<tbody>
<tr>
<td>bar</td>
<td>foo</td>
</tr>
<tr>
<td>baz</td>
<td>boo</td>
</tr>
</tbody>
</table>
15 changes: 15 additions & 0 deletions test/specs/new/table_following_text.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
gfm: true
---
hello world
| abc | def |
| --- | --- |
| bar | foo |
| baz | boo |

hello world with empty line

| abc | def |
| --- | --- |
| bar | foo |
| baz | boo |