diff options
author | Lukas Pioch <lukas@zgow.de> | 2017-04-07 14:31:44 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2017-04-07 21:26:59 +0200 |
commit | 7960d142ca3e28e0e4550faf131398899dca90dc (patch) | |
tree | 209d6c632e6d265cf04488b6567ca8bb4f32e3cf /Server/Plugins/APIDump/main_APIDump.lua | |
parent | Replace double grass and large fern with placed block (diff) | |
download | cuberite-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.lua | 2 |
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 |