Merge pull request #20 from Smittyvb/bump-deps
Bump dependencies to fix HTML in tables
This commit is contained in:
commit
036c2d88e5
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]
|
[dependencies]
|
||||||
mdbook = "0.4.10"
|
mdbook = "0.4.10"
|
||||||
pulldown-cmark = "0.7.0"
|
pulldown-cmark = "0.8.0"
|
||||||
pulldown-cmark-to-cmark = "4.0.2"
|
pulldown-cmark-to-cmark = "6.0.2"
|
||||||
env_logger = "0.7.1"
|
env_logger = "0.8.4"
|
||||||
log = "0.4.11"
|
log = "0.4.11"
|
||||||
clap = "2.33.3"
|
clap = "2.33.3"
|
||||||
serde_json = "1.0.57"
|
serde_json = "1.0.57"
|
||||||
|
|
|
@ -145,3 +145,8 @@ fn similar_heading_different_casing() {
|
||||||
|
|
||||||
assert_toc!("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