From b4d2fccacc226f22f9e2ae0ed016895aceb92053 Mon Sep 17 00:00:00 2001 From: albert-github Date: Mon, 14 Dec 2020 13:04:18 +0100 Subject: =?UTF-8?q?issue=20#8246=20The=20prefix=20&#=D1=85202=D0=90;=20for?= =?UTF-8?q?=20files=20is=20displayed=20incorrectly=20in=20the=20file=20nam?= =?UTF-8?q?es.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Each index generator should handle its Left-To-Right / Right-To-Left handling on its own as otherwise we get for e.g. treeview in the js file: ``` [ "\u202A‪afx3.h", "a00002_source.html", null ] ``` instead of: ``` [ "\u202A;afx3.h", "a00002_source.html", null ] ``` resulting in the problems from this issue. in the htmlhelp (index.hhc): ``` ... value="‪‪afx3.h" ... ``` i.e. a double `‪` which is not nice. In "XML" type formats (not the doxygen xml output!), here qhp index.qhp: ``` ... title="‪afx3.h" ... ``` where the LTR sequence is escaped. --- src/index.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.cpp b/src/index.cpp index dbd9770..c58cacb 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -743,7 +743,7 @@ static void writeDirTreeNode(OutputList &ol, DirDef *dd, int level, FTVHelp* ftv else if (src) { Doxygen::indexList->addContentsItem( - FALSE, convertToHtml(fd->name(),TRUE), 0, + FALSE, fd->name(), 0, fd->getSourceFileBase(), 0, FALSE, TRUE, fd); } } @@ -813,7 +813,7 @@ static void writeDirHierarchy(OutputList &ol, FTVHelp* ftv,bool addToIndex) else if (src) { Doxygen::indexList->addContentsItem( - FALSE, convertToHtml(fd->name(),TRUE), 0, + FALSE, fd->name(), 0, fd->getSourceFileBase(), 0, FALSE, TRUE, fd.get()); } } @@ -4131,7 +4131,7 @@ static void writeGroupTreeNode(OutputList &ol, GroupDef *gd, int level, FTVHelp* bool hasSections = pd->hasSections(); Doxygen::indexList->addContentsItem( hasSubPages || hasSections, - convertToHtml(pd->title(),TRUE), + pd->title(), gd->getReference(), gd->getOutputFileBase(), si ? si->label().data() : 0, -- cgit v0.12