aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authordvs12025-03-12 20:57:53 +1000
committerdvs12025-03-12 20:57:53 +1000
commit7d27ef882ff2d61a571500b84f9b847b476c135d (patch)
treebc2c8ac410b48d0c84fbad8fc572db1087a6bc39
parentGive code blocks a gradient. (diff)
downloadnotYetAnotherWiki-7d27ef882ff2d61a571500b84f9b847b476c135d.zip
notYetAnotherWiki-7d27ef882ff2d61a571500b84f9b847b476c135d.tar.gz
notYetAnotherWiki-7d27ef882ff2d61a571500b84f9b847b476c135d.tar.bz2
notYetAnotherWiki-7d27ef882ff2d61a571500b84f9b847b476c135d.tar.xz
Remove the "edit" link from Foswiki profiles.
-rwxr-xr-xnotYetAnotherWiki.lua1
1 files changed, 1 insertions, 0 deletions
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)
121 {"-noComment-"} -> ' -- ' / 121 {"-noComment-"} -> ' -- ' /
122 {"| bgcolor=#" {([^ ])+} " " } -> "| <span style='background: #%2;'> bgcolor=#%2 </span> " / -- Deal with debdog's color table. 122 {"| bgcolor=#" {([^ ])+} " " } -> "| <span style='background: #%2;'> bgcolor=#%2 </span> " / -- Deal with debdog's color table.
123 {"{#"[A-Za-z_]+"}"} -> '' / 123 {"{#"[A-Za-z_]+"}"} -> '' /
124 {"### [[edit](/bin/edit/Main/" {([^%nl])+} } -> '' /
124 . 125 .
125 )* ~}]=], { } ):match(body) 126 )* ~}]=], { } ):match(body)
126 body = result 127 body = result