aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xnotYetAnotherWiki.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua
index be41c3a..1ce8cc2 100755
--- a/notYetAnotherWiki.lua
+++ b/notYetAnotherWiki.lua
@@ -393,6 +393,8 @@ writeString(l .. '_ORIGINAL1', body)
393 beg, en = RE.find(body, [["div id='wikitext'>"]]) if nil ~= beg then body = body:sub(en + 2) end 393 beg, en = RE.find(body, [["div id='wikitext'>"]]) if nil ~= beg then body = body:sub(en + 2) end
394 beg, en = RE.find(body, [["<div id='printfoot'>"]]) if nil ~= beg then body = body:sub(1, beg - (2 + 9)) end -- There's a </div> to get rid of to. 394 beg, en = RE.find(body, [["<div id='printfoot'>"]]) if nil ~= beg then body = body:sub(1, beg - (2 + 9)) end -- There's a </div> to get rid of to.
395 beg, en = RE.find(body, [['<!--HTMLFooter-->']]) if nil ~= beg then body = body:sub(1, beg - 2) end 395 beg, en = RE.find(body, [['<!--HTMLFooter-->']]) if nil ~= beg then body = body:sub(1, beg - 2) end
396 local result = RE.compile( [[
397{~
396 ( 398 (
397 {"class='categorylink'"} -> blank / 399 {"class='categorylink'"} -> blank /
398 {"class='createlink'"} -> blank / 400 {"class='createlink'"} -> blank /