diff options
author | Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> | 2010-09-16 19:57:49 +0200 |
---|---|---|
committer | Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> | 2010-09-16 19:57:49 +0200 |
commit | c45e21547a2a471ab2147494f505001269374480 (patch) | |
tree | 1ed2d5232c4391a63f2248ca05288b2470739598 /rst_context.lua | |
parent | 95482834c8a7a99f677fc6ffafd72399d157f58d (diff) | |
download | context-rst-c45e21547a2a471ab2147494f505001269374480.tar.gz |
fixed grouped single-line comments
Diffstat (limited to 'rst_context.lua')
-rw-r--r-- | rst_context.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rst_context.lua b/rst_context.lua index 3107a29..00b93f5 100644 --- a/rst_context.lua +++ b/rst_context.lua @@ -96,7 +96,7 @@ do local w = S" \v\t\n" / "_" local wp = Cs((w + 1)^1) function rst_context.whitespace_to_underscore(str) - return wp:match(str) + return str and wp:match(str) or "" end end @@ -477,6 +477,7 @@ function rst_context.paragraph (data) else str = data end + print(str) return string.format([[ \\startparagraph |