aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/notYetAnotherWiki.lua
diff options
context:
space:
mode:
authordvs12025-02-23 13:35:04 +1000
committerdvs12025-02-23 13:35:04 +1000
commit94172037aef7c567ad2425c27fcdbef6c5acfc44 (patch)
tree998af5a8413b3d03b00b245b423878b660d4de6a /notYetAnotherWiki.lua
parentLet's try auto scroll in both directions. (diff)
downloadnotYetAnotherWiki-94172037aef7c567ad2425c27fcdbef6c5acfc44.zip
notYetAnotherWiki-94172037aef7c567ad2425c27fcdbef6c5acfc44.tar.gz
notYetAnotherWiki-94172037aef7c567ad2425c27fcdbef6c5acfc44.tar.bz2
notYetAnotherWiki-94172037aef7c567ad2425c27fcdbef6c5acfc44.tar.xz
Deal with debdog's color table.
Diffstat (limited to 'notYetAnotherWiki.lua')
-rwxr-xr-xnotYetAnotherWiki.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua
index a19c982..fdb5903 100755
--- a/notYetAnotherWiki.lua
+++ b/notYetAnotherWiki.lua
@@ -119,6 +119,7 @@ local toFile = function(name, key, value)
119 {"::: {."[A-Za-z_. ]+"}"} -> '' / 119 {"::: {."[A-Za-z_. ]+"}"} -> '' /
120 {":::"} -> '' / 120 {":::"} -> '' /
121 {"-noComment-"} -> ' -- ' / 121 {"-noComment-"} -> ' -- ' /
122 {"| bgcolor=#" {([^ ])+} " " } -> "| <span style='background: #%2;'> bgcolor=#%2 </span> " / -- Deal with debdog's color table.
122 {"{#"[A-Za-z_]+"}"} -> '' / 123 {"{#"[A-Za-z_]+"}"} -> '' /
123 . 124 .
124 )* ~}]=], { } ):match(body) 125 )* ~}]=], { } ):match(body)