aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/attention.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-04 13:45:32 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-04 13:45:32 +0200
commit3b083d023a8b6c7d4fe6b1140df90c907230b152 (patch)
tree6eda4ff9ba49eba503aea1b5f4b2bbf3484d2aab /src/construct/attention.rs
parent990b42e7bddb9ac5b5c701d142cf07664bd62ad7 (diff)
downloadmarkdown-rs-3b083d023a8b6c7d4fe6b1140df90c907230b152.tar.gz
markdown-rs-3b083d023a8b6c7d4fe6b1140df90c907230b152.tar.bz2
markdown-rs-3b083d023a8b6c7d4fe6b1140df90c907230b152.zip
Fix opening/closing tag order of nested attention
Diffstat (limited to '')
-rw-r--r--src/construct/attention.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/construct/attention.rs b/src/construct/attention.rs
index 95b4079..d4541b4 100644
--- a/src/construct/attention.rs
+++ b/src/construct/attention.rs
@@ -256,7 +256,7 @@ pub fn resolve(tokenizer: &mut Tokenizer) -> Vec<Event> {
}
// Opening.
- edit_map.add(
+ edit_map.add_before(
open_event_index,
0,
vec![