aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'arabluatex.lua')
-rw-r--r--arabluatex.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/arabluatex.lua b/arabluatex.lua
index 6e5b042..38fe87b 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -47,7 +47,7 @@ return str
47end 47end
48 48
49local function breakcmd(str) 49local function breakcmd(str)
50 -- handle \item[], then \item[] 50 -- process \item[], then \item[]
51 str = string.gsub(str, "\\(item.?)(%b[])", 51 str = string.gsub(str, "\\(item.?)(%b[])",
52 function(tag, body) 52 function(tag, body)
53 body = string.sub(body, 2, -2) 53 body = string.sub(body, 2, -2)