summaryrefslogtreecommitdiff
path: root/rst_context.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2010-09-04 16:00:08 +0200
committerPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2010-09-04 16:00:08 +0200
commitbd98935ced1b94ff40cfa8335fdaabf92645676b (patch)
tree9732d07095104c07c4cf320a3a7233ad2e4a1329 /rst_context.lua
parente58224b3f63188bfb6919e320d193a29fcd586fb (diff)
downloadcontext-rst-bd98935ced1b94ff40cfa8335fdaabf92645676b.tar.gz
quoted literal blocks
Diffstat (limited to 'rst_context.lua')
-rw-r--r--rst_context.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rst_context.lua b/rst_context.lua
index f595a27..ee943ab 100644
--- a/rst_context.lua
+++ b/rst_context.lua
@@ -393,7 +393,7 @@ end
function rst_context.literal_block (str)
local indent = P" "^1
- local stripme = indent:match(str)
+ local stripme = indent:match(str) or 0
local strip = P{
[1] = "strip",