Bump dependencies to fix HTML in tables
This updates dependencies, causing #19 to be fixed. This also adds a regression test for #19.
This commit is contained in:
parent
1b3dceae42
commit
980047b0cf
675
Cargo.lock
generated
675
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -10,9 +10,9 @@ edition = "2018"
|
|||
|
||||
[dependencies]
|
||||
mdbook = "0.4.10"
|
||||
pulldown-cmark = "0.7.0"
|
||||
pulldown-cmark-to-cmark = "4.0.2"
|
||||
env_logger = "0.7.1"
|
||||
pulldown-cmark = "0.8.0"
|
||||
pulldown-cmark-to-cmark = "6.0.2"
|
||||
env_logger = "0.8.4"
|
||||
log = "0.4.11"
|
||||
clap = "2.33.3"
|
||||
serde_json = "1.0.57"
|
||||
|
|
|
@ -145,3 +145,8 @@ fn similar_heading_different_casing() {
|
|||
|
||||
assert_toc!("similar_heading_different_casing");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn tables_with_html() {
|
||||
assert_toc!("tables_with_html");
|
||||
}
|
||||
|
|
5
tests/tables_with_html.in.md
Normal file
5
tests/tables_with_html.in.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Heading
|
||||
|
||||
| Head 1 | Head 2 |
|
||||
|--------|--------|
|
||||
| <span>Row 1</span> | Row 2 |
|
5
tests/tables_with_html.out.md
Normal file
5
tests/tables_with_html.out.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Heading
|
||||
|
||||
|Head 1|Head 2|
|
||||
|------|------|
|
||||
|<span>Row 1</span>|Row 2|
|
Loading…
Reference in a new issue