From cc83431d62f0652d85744961f2464e02de875244 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Mon, 14 Aug 2023 11:57:12 -0400 Subject: [PATCH] Consume trailing whitespace for property drawers. This is a change between the org-mode in emacs 29.1 and the org-mode currently in main. --- src/parser/document.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/document.rs b/src/parser/document.rs index 0807f3b..d4a129f 100644 --- a/src/parser/document.rs +++ b/src/parser/document.rs @@ -160,7 +160,7 @@ fn zeroth_section<'r, 's>(context: Context<'r, 's>, input: &'s str) -> Res<&'s s opt(parser_with_context!(comment)( &without_consuming_whitespace_context, )), - parser_with_context!(property_drawer)(&without_consuming_whitespace_context), + parser_with_context!(property_drawer)(context), many0(blank_line), )))(input)?;