aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/notYetAnotherWiki.lua
diff options
context:
space:
mode:
Diffstat (limited to 'notYetAnotherWiki.lua')
-rwxr-xr-xnotYetAnotherWiki.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua
index a73107d..84c320e 100755
--- a/notYetAnotherWiki.lua
+++ b/notYetAnotherWiki.lua
@@ -804,7 +804,7 @@ local lunaLinky = function(url) -- Fix up the links.
804 for j = 1, #p do 804 for j = 1, #p do
805 if '/' == p:sub(j, j) then cnt = cnt + 1 end 805 if '/' == p:sub(j, j) then cnt = cnt + 1 end
806 end 806 end
807 url = string.rep('../', cnt) .. 'DocuWiki/media' .. p .. ur 807 url = string.rep('../', cnt) .. 'DocuWiki/pages' .. p .. ur
808 else 808 else
809 url = url .. '.HTML' 809 url = url .. '.HTML'
810 end 810 end