aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arabluatex.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/arabluatex.lua b/arabluatex.lua
index 2c8dc77..66bbbde 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -228,10 +228,11 @@ local function takeoutcapetc(str)
228 body = string.sub(body, 2, -2) 228 body = string.sub(body, 2, -2)
229 return string.format("%s", body) 229 return string.format("%s", body)
230 end) 230 end)
231 str = string.gsub(str, "(\\uc.?)(%b{})", function(tag, body) 231 str = string.gsub(str, "(\\uc%s?)(%b{})", function(tag, body)
232 body = string.sub(body, 2, -2) 232 body = string.sub(body, 2, -2)
233 return string.format("%s", body) 233 return string.format("%s", body)
234 end) 234 end)
235 str = string.gsub(str, "\\uc%s", "")
235 str = string.gsub(str, "\\linebreak", "") 236 str = string.gsub(str, "\\linebreak", "")
236 str = string.gsub(str, "\\%-", "") 237 str = string.gsub(str, "\\%-", "")
237 return str 238 return str