1
Fork 0

Merge pull request #20 from Smittyvb/bump-deps

Bump dependencies to fix HTML in tables
This commit is contained in:
Jan-Erik Rediger 2021-07-06 14:35:23 +02:00 committed by GitHub
commit 036c2d88e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 431 additions and 265 deletions

675
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -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"

View file

@ -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");
}

View file

@ -0,0 +1,5 @@
# Heading
| Head 1 | Head 2 |
|--------|--------|
| <span>Row 1</span> | Row 2 |

View file

@ -0,0 +1,5 @@
# Heading
|Head 1|Head 2|
|------|------|
|<span>Row 1</span>|Row 2|