From 94172037aef7c567ad2425c27fcdbef6c5acfc44 Mon Sep 17 00:00:00 2001 From: dvs1 Date: Sun, 23 Feb 2025 13:35:04 +1000 Subject: Deal with debdog's color table. --- notYetAnotherWiki.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'notYetAnotherWiki.lua') 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) {"::: {."[A-Za-z_. ]+"}"} -> '' / {":::"} -> '' / {"-noComment-"} -> ' -- ' / + {"| bgcolor=#" {([^ ])+} " " } -> "| bgcolor=#%2 " / -- Deal with debdog's color table. {"{#"[A-Za-z_]+"}"} -> '' / . )* ~}]=], { } ):match(body) -- cgit v1.1