From f16f8f54699fbea0f51c54207c10ddeab8b06c6c Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Wed, 22 Sep 2010 11:26:08 +0200 Subject: resetting nesting depth at paragraph end --- rst_helpers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rst_helpers.lua') diff --git a/rst_helpers.lua b/rst_helpers.lua index d70e247..ade8b23 100644 --- a/rst_helpers.lua +++ b/rst_helpers.lua @@ -462,7 +462,7 @@ do max_three = { curr } end - curr = rnums[str:sub(n,n)] + curr = rnums[str:sub(n,n)] or 1 n = n + 1 succ = str:sub(n,n) -- cgit v1.2.3