Skip to content

Commit 6b26a63

Browse files
committed
issue doxygen#11619 Wrong Python module separator
In case the reference is in a Python file, the right separator is used, but when in a markdown file the doxygen generic `::` separator is used and not replaced by the language specific separator of the reference i.e. in case of Python a `.`.
1 parent c21f339 commit 6b26a63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/docnode.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,7 @@ DocRef::DocRef(DocParser *parser,DocNodeVariant *parent,const QCString &target,c
763763
(compound->definitionType()==Definition::TypeFile ||
764764
compound->definitionType()==Definition::TypePage ? TRUE : FALSE) :
765765
FALSE;
766+
if (compound && lang==SrcLangExt::Markdown) lang = compound->getLanguage();
766767
m_text = linkToText(lang,target,isFile);
767768
m_anchor = anchor;
768769
if (compound && compound->isLinkable()) // ref to compound

0 commit comments

Comments
 (0)