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 523eece..088d241 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -670,7 +670,7 @@ function uc(str)
670 body = string.sub(body, 2, -2) 670 body = string.sub(body, 2, -2)
671 return string.format("%s", body) 671 return string.format("%s", body)
672 end) 672 end)
673 str = string.gsub(str, "(%s[%(%<%[]?)(i?b[n%.])", "%1{%2}") 673 str = string.gsub(str, "(%s[%(%<%[]?)([i%']?b[n%.])", "%1{%2}")
674 for i = 1,#lcuc do 674 for i = 1,#lcuc do
675 str = string.gsub(str, "^([%S]-%-[`']?)"..lcuc[i].a, "{%1"..lcuc[i].b.."}") 675 str = string.gsub(str, "^([%S]-%-[`']?)"..lcuc[i].a, "{%1"..lcuc[i].b.."}")
676 end 676 end