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 cc76969..4a26493 100755
--- a/notYetAnotherWiki.lua
+++ b/notYetAnotherWiki.lua
@@ -809,10 +809,10 @@ local lunaLinky = function(url, lab, tit) -- Fix up the links.
809 end 809 end
810 end 810 end
811 end 811 end
812 if (url:sub(-4) ~= '.png') and (url:sub(-5) ~= '.HTML') then url = url .. '.HTML' end
813 if not done then 812 if not done then
814 -- TODO - Should check if this came from DocuWiki in the first place, AND double check this is for img src. 813 -- TODO - Should check if this came from DocuWiki in the first place, AND double check this is for img src.
815 if url:sub(1, 1) == '/' then 814 if url:sub(1, 1) == '/' then
815 if (url:sub(-4) ~= '.png') and (url:sub(-5) ~= '.HTML') then url = url .. '.HTML' end
816 local p = url 816 local p = url
817 local cnt = 0 817 local cnt = 0
818 for j = 1, #p do 818 for j = 1, #p do