aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/notYetAnotherWiki.lua
diff options
context:
space:
mode:
authordvs12025-03-17 08:41:40 +1000
committerdvs12025-03-17 08:41:40 +1000
commit192785cb14614758317d7a2e33c9851b71c69478 (patch)
tree35b398dbc6a801d03573bb73c4660466fbea9e8e /notYetAnotherWiki.lua
parentBUG++ sigh (diff)
downloadnotYetAnotherWiki-192785cb14614758317d7a2e33c9851b71c69478.zip
notYetAnotherWiki-192785cb14614758317d7a2e33c9851b71c69478.tar.gz
notYetAnotherWiki-192785cb14614758317d7a2e33c9851b71c69478.tar.bz2
notYetAnotherWiki-192785cb14614758317d7a2e33c9851b71c69478.tar.xz
BUG-- upload and pub links are fixed again.
Diffstat (limited to 'notYetAnotherWiki.lua')
-rwxr-xr-xnotYetAnotherWiki.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua
index 1cea01b..c5814f3 100755
--- a/notYetAnotherWiki.lua
+++ b/notYetAnotherWiki.lua
@@ -746,9 +746,9 @@ local lunaLinky = function(url) -- Fix up the links.
746 url = xlnk .. string.gsub(ur, '.*%.', '', 1) 746 url = xlnk .. string.gsub(ur, '.*%.', '', 1)
747-- end 747-- end
748 if 'PmWiki/uploads/' == p then 748 if 'PmWiki/uploads/' == p then
749 url = '../' .. p .. string.gsub(ur, '%.', '.', 1) 749 url = '../../' .. p .. string.gsub(ur, '%.', '.', 1)
750 elseif 'Foswiki/pub/' == p then 750 elseif 'Foswiki/pub/' == p then
751 url = '../' .. p .. ur 751 url = '../../' .. p .. ur
752 else 752 else
753 url = url .. '.HTML' 753 url = url .. '.HTML'
754 end 754 end