From 93838985e29fdfb11937db920f08b87435c83c2d Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Fri, 3 Sep 2010 12:20:43 +0200 Subject: fixed a serious bug in list nesting --- rst_context.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rst_context.lua') 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 -- cgit v1.2.3