From f7d7507af61a0f253fdb50cecd20885b72d16b13 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 12 Sep 2022 16:46:33 +0200 Subject: Fix blank lines in labels --- src/construct/partial_label.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/construct') diff --git a/src/construct/partial_label.rs b/src/construct/partial_label.rs index 255fde1..f56a591 100644 --- a/src/construct/partial_label.rs +++ b/src/construct/partial_label.rs @@ -197,8 +197,9 @@ pub fn eol_after(tokenizer: &mut Tokenizer) -> State { /// | b] /// ``` pub fn at_blank_line(tokenizer: &mut Tokenizer) -> State { - tokenizer.tokenize_state.marker = 0; tokenizer.tokenize_state.connect = false; + tokenizer.tokenize_state.seen = false; + tokenizer.tokenize_state.size = 0; State::Nok } -- cgit