From 66c70d1b917976c32b770e5d724fc4e47a2309c6 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Fri, 15 Jul 2022 12:34:23 +0200 Subject: Refactor to sort, document lists in token --- src/compiler.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/compiler.rs') diff --git a/src/compiler.rs b/src/compiler.rs index 7b50147..6484aaa 100644 --- a/src/compiler.rs +++ b/src/compiler.rs @@ -723,8 +723,7 @@ fn on_enter_list(context: &mut CompileContext) { // Blank line directly in list or directly in list item, // but not a blank line after an empty list item. - if balance < 3 && event.token_type == Token::BlankLineEnding - { + if balance < 3 && event.token_type == Token::BlankLineEnding { let at_marker = balance == 2 && events[skip::opt_back( events, -- cgit