From 74fe70d9c096bb95642603979ab14cc2e00b585d Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sun, 11 Sep 2011 13:43:36 +0200 Subject: allow literal blocks after single-line paragraphs --- mod/tex/context/third/rst/rst_parser.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mod/tex/context/third/rst') diff --git a/mod/tex/context/third/rst/rst_parser.lua b/mod/tex/context/third/rst/rst_parser.lua index 646d972..43694ce 100644 --- a/mod/tex/context/third/rst/rst_parser.lua +++ b/mod/tex/context/third/rst/rst_parser.lua @@ -1103,7 +1103,10 @@ local parser = P{ * V"reset_depth" , - par_first = V"par_setindent" * C((1 - V"literal_block_shorthand" - V"eol")^1) * V"eol", + par_first = V"par_setindent" + * C((1 - V"literal_block_shorthand" - V"eol")^1) + * (V"included_literal_block" + V"eol") + , par_other = V"par_matchindent" * C((1 - V"literal_block_shorthand" - V"eol")^1) -- cgit v1.2.3