From 4ff62fbfae6845a564520bc1f2635e975434de53 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Thu, 21 Sep 2023 21:25:33 -0400 Subject: [PATCH] Support backslash as a post character for text markup. --- src/parser/text_markup.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/text_markup.rs b/src/parser/text_markup.rs index 0d4f1933..8a7549fd 100644 --- a/src/parser/text_markup.rs +++ b/src/parser/text_markup.rs @@ -312,7 +312,7 @@ fn post<'b, 'g, 'r, 's>( _context: RefContext<'b, 'g, 'r, 's>, input: OrgSource<'s>, ) -> Res, ()> { - let (remaining, _) = alt((recognize(one_of(" \r\n\t-.,;:!?')}[\"")), line_ending))(input)?; + let (remaining, _) = alt((recognize(one_of(" \r\n\t-.,;:!?')}[\"\\")), line_ending))(input)?; Ok((remaining, ())) }