summaryrefslogtreecommitdiff
path: root/rst_context.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2010-09-03 12:20:43 +0200
committerPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2010-09-03 12:20:43 +0200
commit93838985e29fdfb11937db920f08b87435c83c2d (patch)
tree2418be3d5e25d681d88250f0a8e8b77c8d64a110 /rst_context.lua
parenta5bbf034b6264780bd5144c48fdd9be61ec9030a (diff)
downloadcontext-rst-93838985e29fdfb11937db920f08b87435c83c2d.tar.gz
fixed a serious bug in list nesting
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 8131505..40dd719 100644
--- a/rst_context.lua
+++ b/rst_context.lua
@@ -227,7 +227,7 @@ local enumeration_types = {
local stripme = S"()."
local dontstrip = 1 - stripme
-local itemstripper = stripme^0 * C(dontstrip) * stripme^0
+local itemstripper = stripme^0 * C(dontstrip^1) * stripme^0
local function parse_itemstring(str)
local setup = [[\setupitemize[]]
-- string.match is slightly faster than string.find