fixup! block: parse tables
This commit is contained in:
parent
df8846cdba
commit
1135cf7054
3 changed files with 11 additions and 1 deletions
10
src/block.rs
10
src/block.rs
|
@ -1673,6 +1673,16 @@ mod test {
|
|||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn parse_table_escaped() {
|
||||
test_parse!(
|
||||
"|a\\|\n",
|
||||
(Enter(Leaf(Paragraph)), ""),
|
||||
(Inline, "|a\\|"),
|
||||
(Exit(Leaf(Paragraph)), ""),
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn parse_table_post() {
|
||||
test_parse!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue