aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'arabluatex.lua')
-rw-r--r--arabluatex.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/arabluatex.lua b/arabluatex.lua
index c2487cb..a720ed8 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -672,10 +672,10 @@ function cap(str)
672 end) 672 end)
673 str = string.gsub(str, "(%s)(bn)", "%1{%2}") 673 str = string.gsub(str, "(%s)(bn)", "%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
677 for i = 1,#lcuc do 677 for i = 1,#lcuc do
678 str = string.gsub(str, "(%s)([%S]-%-)"..lcuc[i].a, "%1{%2"..lcuc[i].b.."}") 678 str = string.gsub(str, "(%s)([%S]-%-[`']?)"..lcuc[i].a, "%1{%2"..lcuc[i].b.."}")
679 end 679 end
680 for i = 1,#lcuc do 680 for i = 1,#lcuc do
681 str = string.gsub(str, "^([%S]-%-ʿ)"..lcuc[i].a, "{%1"..lcuc[i].b.."}") 681 str = string.gsub(str, "^([%S]-%-ʿ)"..lcuc[i].a, "{%1"..lcuc[i].b.."}")