summaryrefslogtreecommitdiffstats
path: root/src/markdown.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-05-12 17:46:20 (GMT)
committerGitHub <noreply@github.com>2019-05-12 17:46:20 (GMT)
commit8ba8b5df87cbd70f8c912b84dc2403189bcda4a5 (patch)
tree04d45f695fa8db9e05bc0fb90ece4803a27585c7 /src/markdown.cpp
parentbcc8da62ab46c3dbbf08c2c16e6b4dfb6b64b2cb (diff)
parent919b65b72a70d944602a65395951de9b9fa23f07 (diff)
downloadDoxygen-8ba8b5df87cbd70f8c912b84dc2403189bcda4a5.zip
Doxygen-8ba8b5df87cbd70f8c912b84dc2403189bcda4a5.tar.gz
Doxygen-8ba8b5df87cbd70f8c912b84dc2403189bcda4a5.tar.bz2
Merge pull request #6913 from albert-github/feature/url_to_md_file
Markdown file as internet link
Diffstat (limited to 'src/markdown.cpp')
-rw-r--r--src/markdown.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp
index 6b5a894..f2ec22a 100644
--- a/src/markdown.cpp
+++ b/src/markdown.cpp
@@ -915,7 +915,7 @@ static int processLink(GrowBuf &out,const char *data,int,int size)
{
SrcLangExt lang = getLanguageFromFileName(link);
int lp=-1;
- if ((lp=link.find("@ref "))!=-1 || (lp=link.find("\\ref "))!=-1 || lang==SrcLangExt_Markdown)
+ if ((lp=link.find("@ref "))!=-1 || (lp=link.find("\\ref "))!=-1 || (lang==SrcLangExt_Markdown && !isURL(link)))
// assume doxygen symbol link
{
if (lp==-1) // link to markdown page