summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/main_APIDump.lua
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2017-04-07 14:31:44 +0200
committerLukas Pioch <lukas@zgow.de>2017-04-07 21:26:59 +0200
commit7960d142ca3e28e0e4550faf131398899dca90dc (patch)
tree209d6c632e6d265cf04488b6567ca8bb4f32e3cf /Server/Plugins/APIDump/main_APIDump.lua
parentReplace double grass and large fern with placed block (diff)
downloadcuberite-7960d142ca3e28e0e4550faf131398899dca90dc.tar
cuberite-7960d142ca3e28e0e4550faf131398899dca90dc.tar.gz
cuberite-7960d142ca3e28e0e4550faf131398899dca90dc.tar.bz2
cuberite-7960d142ca3e28e0e4550faf131398899dca90dc.tar.lz
cuberite-7960d142ca3e28e0e4550faf131398899dca90dc.tar.xz
cuberite-7960d142ca3e28e0e4550faf131398899dca90dc.tar.zst
cuberite-7960d142ca3e28e0e4550faf131398899dca90dc.zip
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