summaryrefslogtreecommitdiff
path: root/rst_helpers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rst_helpers.lua')
-rw-r--r--rst_helpers.lua2
1 files changed, 1 insertions, 1 deletions
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)