diff options
author | Robert Alessi <alessi@robertalessi.net> | 2017-07-03 01:27:25 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2017-07-03 01:27:25 +0200 |
commit | ca731fe0d91b4f741ba1745ff3fc5b22a5d1472a (patch) | |
tree | f4706e01a82ef033d229997dd307bef1df882537 /arabluatex.lua | |
parent | 794311265c5b020e8c459c33056e1376b169e27f (diff) | |
download | arabluatex-ca731fe0d91b4f741ba1745ff3fc5b22a5d1472a.tar.gz |
the documentation now needs to be updated
Diffstat (limited to 'arabluatex.lua')
-rw-r--r-- | arabluatex.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arabluatex.lua b/arabluatex.lua index d35114d..48e5987 100644 --- a/arabluatex.lua +++ b/arabluatex.lua | |||
@@ -66,7 +66,7 @@ local function breakcmd(str) | |||
66 | -- nothing to do | 66 | -- nothing to do |
67 | else | 67 | else |
68 | for i = 1,#brkcmds do | 68 | for i = 1,#brkcmds do |
69 | str = string.gsub(str, "\\"..brkcmds[i]..".?(%b{})", | 69 | str = string.gsub(str, "\\"..brkcmds[i].."%s?(%b{})", |
70 | function(body) | 70 | function(body) |
71 | body = string.sub(body, 2, -2) | 71 | body = string.sub(body, 2, -2) |
72 | return string.format("}\\"..brkcmds[i].."{%s}\\arb{", body) | 72 | return string.format("}\\"..brkcmds[i].."{%s}\\arb{", body) |