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 3b76376..eeef54b 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -497,8 +497,8 @@ end
497local function transarabica(str) 497local function transarabica(str)
498 str = string.gsub(str, "\\arb(%b{})", function(inside) 498 str = string.gsub(str, "\\arb(%b{})", function(inside)
499 inside = string.sub(inside, 2, -2) 499 inside = string.sub(inside, 2, -2)
500 for i = 1,#hamzatrloc do 500 for i = 1,#hamzatrarabica do
501 inside = string.gsub(inside, hamzatrloc[i].a, hamzatrloc[i].b) 501 inside = string.gsub(inside, hamzatrarabica[i].a, hamzatrarabica[i].b)
502 end 502 end
503 for i = 1,#tanwintrloc do 503 for i = 1,#tanwintrloc do
504 inside = string.gsub(inside, tanwintrloc[i].a, tanwintrloc[i].b) 504 inside = string.gsub(inside, tanwintrloc[i].a, tanwintrloc[i].b)