summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/main_APIDump.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Server/Plugins/APIDump/main_APIDump.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Server/Plugins/APIDump/main_APIDump.lua b/Server/Plugins/APIDump/main_APIDump.lua
index b45f98a45..022fe9975 100644
--- a/Server/Plugins/APIDump/main_APIDump.lua
+++ b/Server/Plugins/APIDump/main_APIDump.lua
@@ -219,7 +219,7 @@ local function LinkifyString(a_String, a_Referrer)
--- Creates the HTML for the specified link and title
local function CreateLink(Link, Title)
- if (Link:sub(1, 7) == "http://") then
+ if ((Link:sub(1, 7) == "http://") or (Link:sub(1, 8) == "https://")) then
-- The link is a full absolute URL, do not modify, do not track:
return "<a href=\"" .. Link .. "\">" .. Title .. "</a>";
end