From 624597b9a1dcc821a2d6b2ad000f134f75f5ef96 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Mon, 3 Jun 2013 18:55:29 +0200 Subject: fix single-line image directives --- mod/tex/context/third/rst/rst_parser.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/tex/context/third/rst/rst_parser.lua') diff --git a/mod/tex/context/third/rst/rst_parser.lua b/mod/tex/context/third/rst/rst_parser.lua index a397f55..2dcc4d3 100644 --- a/mod/tex/context/third/rst/rst_parser.lua +++ b/mod/tex/context/third/rst/rst_parser.lua @@ -5,7 +5,7 @@ -- DESCRIPTION: https://bitbucket.org/phg/context-rst/overview -- AUTHOR: Philipp Gesang (Phg), -- VERSION: 0.6 --- CHANGED: 2013-03-26 22:45:59+0100 +-- CHANGED: 2013-06-03 18:52:42+0200 -------------------------------------------------------------------------------- -- @@ -197,7 +197,7 @@ local parser = P{ * V"directive_indented_lines" , - directive_block_single = Ct(C((1 - V"eol")^1)) * V"eol", + directive_block_single = V"whitespace"^1 * Ct(C((1 - V"eol")^1)) * V"eol", -------------------------------------------------------------------------------- -- Substitution definition block -- cgit v1.2.3