From 8ff5fa8ff772b46b51a7782b22624244a10a73fb Mon Sep 17 00:00:00 2001 From: dvs1 Date: Fri, 14 Mar 2025 16:53:37 +1000 Subject: Some more color conversion fixes. --- notYetAnotherWiki.lua | 2 ++ 1 file changed, 2 insertions(+) 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) {":::"} -> '' / {"-noComment-"} -> ' -- ' / {"| bgcolor=#" {([^ ])+} " " } -> "| bgcolor=#%2 " / -- Deal with debdog's color table. + {"[" {([^]])+} ']{style="color: ' {([^}])+} "}" } -> "%2" / + {"[" {([^]])+} "]{style='color: " {([^}])+} "}" } -> "%2" / {"{#"[A-Za-z_]+"}"} -> '' / {"### [[edit](/bin/edit/Main/" {([^%nl])+} } -> '' / . -- cgit v1.1