aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authordvs12025-03-14 16:53:37 +1000
committerdvs12025-03-14 16:53:37 +1000
commit8ff5fa8ff772b46b51a7782b22624244a10a73fb (patch)
tree3045909c24f76910fb49e6775001f6fd2e507426
parentMake code blocks resize properly. (diff)
downloadnotYetAnotherWiki-8ff5fa8ff772b46b51a7782b22624244a10a73fb.zip
notYetAnotherWiki-8ff5fa8ff772b46b51a7782b22624244a10a73fb.tar.gz
notYetAnotherWiki-8ff5fa8ff772b46b51a7782b22624244a10a73fb.tar.bz2
notYetAnotherWiki-8ff5fa8ff772b46b51a7782b22624244a10a73fb.tar.xz
Some more color conversion fixes.
-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 .