aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2023-05-02 11:20:22 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2023-05-02 11:20:22 +0200
commita3515c2c630b3ba3ab3959b20f7e0163608a7e26 (patch)
tree8043d5a370110cfe981eac39bcb7c23e0a7fc66f /src
parentbca70ec44d0a855405521637d98cf8b21406f437 (diff)
downloadmarkdown-rs-a3515c2c630b3ba3ab3959b20f7e0163608a7e26.tar.gz
markdown-rs-a3515c2c630b3ba3ab3959b20f7e0163608a7e26.tar.bz2
markdown-rs-a3515c2c630b3ba3ab3959b20f7e0163608a7e26.zip
Remove unneeded check
Diffstat (limited to '')
-rw-r--r--src/construct/gfm_table.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/construct/gfm_table.rs b/src/construct/gfm_table.rs
index 9edf5fd..646b17f 100644
--- a/src/construct/gfm_table.rs
+++ b/src/construct/gfm_table.rs
@@ -972,7 +972,7 @@ fn flush_cell(
content: Content::Text,
});
- if !in_delimiter_row && range.3 > range.2 + 1 {
+ if range.3 > range.2 + 1 {
let a = range.2 + 1;
let b = range.3 - range.2 - 1;
tokenizer.map.add(a, b, vec![]);