From 7d27ef882ff2d61a571500b84f9b847b476c135d Mon Sep 17 00:00:00 2001 From: dvs1 Date: Wed, 12 Mar 2025 20:57:53 +1000 Subject: Remove the "edit" link from Foswiki profiles. --- notYetAnotherWiki.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index 29ed9fb..77903a9 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua @@ -121,6 +121,7 @@ local toFile = function(name, key, value) {"-noComment-"} -> ' -- ' / {"| bgcolor=#" {([^ ])+} " " } -> "| bgcolor=#%2 " / -- Deal with debdog's color table. {"{#"[A-Za-z_]+"}"} -> '' / + {"### [[edit](/bin/edit/Main/" {([^%nl])+} } -> '' / . )* ~}]=], { } ):match(body) body = result -- cgit v1.1