From 3b083d023a8b6c7d4fe6b1140df90c907230b152 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 4 Jul 2022 13:45:32 +0200 Subject: Fix opening/closing tag order of nested attention --- src/construct/attention.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/construct/attention.rs') 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 { } // Opening. - edit_map.add( + edit_map.add_before( open_event_index, 0, vec![ -- cgit