aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arabluatex.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/arabluatex.lua b/arabluatex.lua
index b539484..2466093 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -690,6 +690,12 @@ function uc(str)
690 str = string.gsub(str, "(%s[%(%<%[]?)([%S]-%-ʾ)"..lcuc[i].a, "%1{%2"..lcuc[i].b.."}") 690 str = string.gsub(str, "(%s[%(%<%[]?)([%S]-%-ʾ)"..lcuc[i].a, "%1{%2"..lcuc[i].b.."}")
691 end 691 end
692 for i = 1,#lcuc do 692 for i = 1,#lcuc do
693 str = string.gsub(str, "^([`'])"..lcuc[i].a, "{%1"..lcuc[i].b.."}")
694 end
695 for i = 1,#lcuc do
696 str = string.gsub(str, "(%s[%(%<%[]?)([`'])"..lcuc[i].a, "%1{%2"..lcuc[i].b.."}")
697 end
698 for i = 1,#lcuc do
693 str = string.gsub(str, "^(ʾ)"..lcuc[i].a, "{%1"..lcuc[i].b.."}") 699 str = string.gsub(str, "^(ʾ)"..lcuc[i].a, "{%1"..lcuc[i].b.."}")
694 end 700 end
695 for i = 1,#lcuc do 701 for i = 1,#lcuc do