diff options
| author | onefang | 2026-01-28 14:05:23 +1000 |
|---|---|---|
| committer | onefang | 2026-01-28 14:05:23 +1000 |
| commit | 93e57244675362f150e1f8db1f68266790c1f8a2 (patch) | |
| tree | c05c90fb9897fd82a459e39c3684542ed42336b6 | |
| parent | OOps. (diff) | |
| download | notYetAnotherWiki-93e57244675362f150e1f8db1f68266790c1f8a2.zip notYetAnotherWiki-93e57244675362f150e1f8db1f68266790c1f8a2.tar.gz notYetAnotherWiki-93e57244675362f150e1f8db1f68266790c1f8a2.tar.bz2 notYetAnotherWiki-93e57244675362f150e1f8db1f68266790c1f8a2.tar.xz | |
Oops again.
| -rwxr-xr-x | notYetAnotherWiki.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index 1ce8cc2..fac1be2 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua | |||
| @@ -387,7 +387,6 @@ writeString(l .. '_ORIGINAL1', body) | |||
| 387 | end | 387 | end |
| 388 | 388 | ||
| 389 | writeString(l .. '_NEW', body) | 389 | writeString(l .. '_NEW', body) |
| 390 | local result = RE.compile( [[{~ | ||
| 391 | elseif 'PmWiki' == l:sub(1, 6) then | 390 | elseif 'PmWiki' == l:sub(1, 6) then |
| 392 | local beg, en = RE.find(body, [['<!--PageText-->']]) if nil ~= beg then body = body:sub(en + 2) end | 391 | local beg, en = RE.find(body, [['<!--PageText-->']]) 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 | 392 | beg, en = RE.find(body, [["div id='wikitext'>"]]) if nil ~= beg then body = body:sub(en + 2) end |
