Skip to content

Commit c9905aa

Browse files
authored
Merge pull request doxygen#12191 from albert-github/feature/bug_navtree
Navigation tree doesn't render due to `\n` in output
2 parents 116d152 + 3c65317 commit c9905aa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/ftvhelp.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,7 @@ static void generateJSLink(TextStream &t,const FTVNodePtr &n)
556556
{
557557
bool nameAsHtml = !n->nameAsHtml.isEmpty();
558558
QCString link = nameAsHtml ? convertToJSString(n->nameAsHtml,true) : convertToJSString(n->name);
559+
link = substitute(link,"\n","");
559560
if (n->file.isEmpty()) // no link
560561
{
561562
t << "\"" << link << "\", null, ";

0 commit comments

Comments
 (0)