diff options
| author | onefang | 2026-01-28 14:00:43 +1000 |
|---|---|---|
| committer | onefang | 2026-01-28 14:00:43 +1000 |
| commit | 2610a871a1008149a1bdafaed5e24b04ef78f50c (patch) | |
| tree | 3e10bf06720d1b5f11ea0a9e51ba44c15cdd37ea | |
| parent | Various style cleanups. (diff) | |
| download | notYetAnotherWiki-2610a871a1008149a1bdafaed5e24b04ef78f50c.zip notYetAnotherWiki-2610a871a1008149a1bdafaed5e24b04ef78f50c.tar.gz notYetAnotherWiki-2610a871a1008149a1bdafaed5e24b04ef78f50c.tar.bz2 notYetAnotherWiki-2610a871a1008149a1bdafaed5e24b04ef78f50c.tar.xz | |
OOps.
| -rwxr-xr-x | notYetAnotherWiki.lua | 2 |
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 / |
