diff options
Diffstat (limited to 'tests/gfm_table.rs')
-rw-r--r-- | tests/gfm_table.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/gfm_table.rs b/tests/gfm_table.rs index 619bf2a..b7f884a 100644 --- a/tests/gfm_table.rs +++ b/tests/gfm_table.rs @@ -338,6 +338,12 @@ fn gfm_table() -> Result<(), String> { ); assert_eq!( + micromark_with_options("[\na\n:-\n]: b", &gfm)?, + "<p>[</p>\n<table>\n<thead>\n<tr>\n<th align=\"left\">a</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td align=\"left\">]: b</td>\n</tr>\n</tbody>\n</table>", + "should prefer GFM tables over definitions" + ); + + assert_eq!( micromark_with_options( r###"# Align |