aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'arabluatex.lua')
-rw-r--r--arabluatex.lua10
1 files changed, 8 insertions, 2 deletions
diff --git a/arabluatex.lua b/arabluatex.lua
index 1793564..9252127 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -335,8 +335,14 @@ local function fullvoceasy(str, rules)
335 inside = string.gsub(inside, digraphsfv[i].a, digraphsfv[i].b) 335 inside = string.gsub(inside, digraphsfv[i].a, digraphsfv[i].b)
336 end 336 end
337 end 337 end
338 for i = 1,#singlefveasy do 338 if rules == "nosukun" then
339 inside = string.gsub(inside, singlefveasy[i].a, singlefveasy[i].b) 339 for i = 1,#singlefveasy do
340 inside = string.gsub(inside, singlefveasy[i].a, singlefveasy[i].b)
341 end
342 else
343 for i = 1,#singlefv do
344 inside = string.gsub(inside, singlefv[i].a, singlefv[i].b)
345 end
340 end 346 end
341 for i = 1,#longv do 347 for i = 1,#longv do
342 inside = string.gsub(inside, longv[i].a, longv[i].b) 348 inside = string.gsub(inside, longv[i].a, longv[i].b)