Skip to content

Commit 80ded3e

Browse files
committed
issue #10949 Doxygen replaces # by ::
In case no link can be created, not the changed name should be shown but the original name.
1 parent c5e06a2 commit 80ded3e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/docparser.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -873,12 +873,8 @@ void DocParser::handleLinkedWord(DocNodeVariant *parent,DocNodeList &children,bo
873873
if (context.token->name.startsWith("#"))
874874
{
875875
warn_doc_error(context.fileName,tokenizer.getLineNr(),"explicit link request to '%s' could not be resolved",qPrint(name));
876-
children.append<DocWord>(this,parent,context.token->name);
877-
}
878-
else
879-
{
880-
children.append<DocWord>(this,parent,name);
881876
}
877+
children.append<DocWord>(this,parent,context.token->name);
882878
}
883879
}
884880

0 commit comments

Comments
 (0)