diff options
author | albert-github <albert.tests@gmail.com> | 2020-12-14 12:04:18 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2020-12-14 12:04:18 (GMT) |
commit | b4d2fccacc226f22f9e2ae0ed016895aceb92053 (patch) | |
tree | 2a7335dcf20a21be973d7131e591ee0beebe6b96 /src/index.cpp | |
parent | 5927aea269d6567c850c6ddc87970779aca5bc32 (diff) | |
download | Doxygen-b4d2fccacc226f22f9e2ae0ed016895aceb92053.zip Doxygen-b4d2fccacc226f22f9e2ae0ed016895aceb92053.tar.gz Doxygen-b4d2fccacc226f22f9e2ae0ed016895aceb92053.tar.bz2 |
issue #8246 The prefix &#х202А; for files is displayed incorrectly in the file names.
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="&#x202A;afx3.h" ...
```
where the LTR sequence is escaped.
Diffstat (limited to 'src/index.cpp')
-rw-r--r-- | src/index.cpp | 6 |
1 files 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, |