From c56a8c41f0106fcf4bfa55a8b679e4f748b96caa Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 1 Jun 2022 10:30:28 +0200 Subject: Fix that incremental reparsing is impossible at the end Co-Authored-By: Martin Haug --- src/parse/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parse/mod.rs') diff --git a/src/parse/mod.rs b/src/parse/mod.rs index fddef04c..be3af1f8 100644 --- a/src/parse/mod.rs +++ b/src/parse/mod.rs @@ -107,7 +107,7 @@ fn reparse_markup_elements( markup_node(&mut p, &mut at_start); - if p.prev_end() < end_pos { + if p.prev_end() <= end_pos { continue; } -- cgit v1.2.3