aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arabluatex.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/arabluatex.lua b/arabluatex.lua
index 2adcdb0..495e6a0 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -671,8 +671,8 @@ function uc(str)
671 return string.format("%s", body) 671 return string.format("%s", body)
672 end) 672 end)
673 -- Allah and ibn 673 -- Allah and ibn
674 str = string.gsub(str, "([%'%-]?)(l%-lāh)([uai]?)", "%1{Llāh%3}")
675 str = string.gsub(str, "(al%-lāh)([uai]?)", "{Allāh%2}") 674 str = string.gsub(str, "(al%-lāh)([uai]?)", "{Allāh%2}")
675 str = string.gsub(str, "([%'%-]?)(l%-lāh)([uai]?)", "%1{Llāh%3}")
676 str = string.gsub(str, "(%s[%(%<%[]?)([i%']?b[n%.])", "%1{%2}") 676 str = string.gsub(str, "(%s[%(%<%[]?)([i%']?b[n%.])", "%1{%2}")
677 for i = 1,#lcuc do 677 for i = 1,#lcuc do
678 str = string.gsub(str, "^([%S]-%-[`']?)"..lcuc[i].a, "{%1"..lcuc[i].b.."}") 678 str = string.gsub(str, "^([%S]-%-[`']?)"..lcuc[i].a, "{%1"..lcuc[i].b.."}")