From c45e21547a2a471ab2147494f505001269374480 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Thu, 16 Sep 2010 19:57:49 +0200 Subject: fixed grouped single-line comments --- rst_context.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rst_context.lua') 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 -- cgit v1.2.3