summaryrefslogtreecommitdiff
path: root/mod/tex/context/third/rst/rst_parser.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2013-06-03 18:55:29 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2013-06-03 18:55:29 +0200
commit624597b9a1dcc821a2d6b2ad000f134f75f5ef96 (patch)
tree7ecb11877b7e50ff83d51ba219418ac18f0aa5fe /mod/tex/context/third/rst/rst_parser.lua
parent8b4ba148701a4a73819e49ba10b56a7125545d2c (diff)
downloadcontext-rst-624597b9a1dcc821a2d6b2ad000f134f75f5ef96.tar.gz
fix single-line image directives
Diffstat (limited to 'mod/tex/context/third/rst/rst_parser.lua')
-rw-r--r--mod/tex/context/third/rst/rst_parser.lua4
1 files changed, 2 insertions, 2 deletions
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), <phg42.2a@gmail.com>
-- 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