aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/gfm_table.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-29 12:25:32 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-29 12:25:32 +0200
commit7bf7e86db9db89da11f80d2199bcd5ca7988efba (patch)
tree24e13a4ed3bb7178907676cbbf2dbd2756c4f047 /src/construct/gfm_table.rs
parent5d5e94567e7a87a3cefdda410e3bd9e36e26eca5 (diff)
downloadmarkdown-rs-7bf7e86db9db89da11f80d2199bcd5ca7988efba.tar.gz
markdown-rs-7bf7e86db9db89da11f80d2199bcd5ca7988efba.tar.bz2
markdown-rs-7bf7e86db9db89da11f80d2199bcd5ca7988efba.zip
Refactor to always resolve edit maps
This will probably catch some confusing bugs, such as ad1b3e6.
Diffstat (limited to '')
-rw-r--r--src/construct/gfm_table.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/construct/gfm_table.rs b/src/construct/gfm_table.rs
index 3f88073..9edf5fd 100644
--- a/src/construct/gfm_table.rs
+++ b/src/construct/gfm_table.rs
@@ -883,6 +883,7 @@ pub fn resolve(tokenizer: &mut Tokenizer) -> Option<Subresult> {
flush_table_end(tokenizer, last_table_end, last_table_has_body);
}
+ tokenizer.map.consume(&mut tokenizer.events);
None
}