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 a2cdccb..527a4e2 100755
--- a/notYetAnotherWiki.lua
+++ b/notYetAnotherWiki.lua
@@ -119,6 +119,8 @@ local toFile = function(name, key, value)
119 {":::"} -> '' / 119 {":::"} -> '' /
120 {"-noComment-"} -> ' -- ' / 120 {"-noComment-"} -> ' -- ' /
121 {"| bgcolor=#" {([^ ])+} " " } -> "| <span style='background: #%2;'> bgcolor=#%2 </span> " / -- Deal with debdog's color table. 121 {"| bgcolor=#" {([^ ])+} " " } -> "| <span style='background: #%2;'> bgcolor=#%2 </span> " / -- Deal with debdog's color table.
122 {"[" {([^]])+} ']{style="color: ' {([^}])+} "}" } -> "<span style='color: %3;'>%2</span>" /
123 {"[" {([^]])+} "]{style='color: " {([^}])+} "}" } -> "<span style='color: %3;'>%2</span>" /
122 {"{#"[A-Za-z_]+"}"} -> '' / 124 {"{#"[A-Za-z_]+"}"} -> '' /
123 {"### [[edit](/bin/edit/Main/" {([^%nl])+} } -> '' / 125 {"### [[edit](/bin/edit/Main/" {([^%nl])+} } -> '' /
124 . 126 .