aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/src
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2017-11-22 10:08:18 +0100
committerDan Gudmundsson <[email protected]>2017-11-22 10:08:18 +0100
commitec4c80f6d29156d9a608f84183561bb5e5639e96 (patch)
tree97fb204c4d4ed862792e1cf7c1ea02ce9c6a9164 /lib/erl_docgen/src
parent3b5fced77873fa6ee87a81a6162acf9d9f43c6de (diff)
downloadotp-ec4c80f6d29156d9a608f84183561bb5e5639e96.tar.gz
otp-ec4c80f6d29156d9a608f84183561bb5e5639e96.tar.bz2
otp-ec4c80f6d29156d9a608f84183561bb5e5639e96.zip
https should be mapped to url and not seealso
external https links was generated as seealso which doens't work.
Diffstat (limited to 'lib/erl_docgen/src')
-rw-r--r--lib/erl_docgen/src/docgen_edoc_xml_cb.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/erl_docgen/src/docgen_edoc_xml_cb.erl b/lib/erl_docgen/src/docgen_edoc_xml_cb.erl
index 7cdbb502d9..91422c8910 100644
--- a/lib/erl_docgen/src/docgen_edoc_xml_cb.erl
+++ b/lib/erl_docgen/src/docgen_edoc_xml_cb.erl
@@ -489,6 +489,8 @@ otp_xmlify_a_href("#"++_ = Marker, Es0) -> % <seealso marker="#what">
{Marker, Es0};
otp_xmlify_a_href("http:"++_ = URL, Es0) -> % external URL
{URL, Es0};
+otp_xmlify_a_href("https:"++_ = URL, Es0) -> % external URL
+ {URL, Es0};
otp_xmlify_a_href("OTPROOT"++AppRef, Es0) -> % <.. marker="App:FileRef
[AppS, "doc", FileRef1] = split(AppRef, "/"),
FileRef = AppS++":"++otp_xmlify_a_fileref(FileRef1, AppS),