Skip to content

Commit 7bb28cb

Browse files
committed
Problem with links from search index files
The format of the tag file has been slightly changed in the past so that the original HTML_FILE_EXTENSION was preserved by adding the HTML_FILE_EXTENSION to the items in the tag file. This change has not been reflected in the search files like `files_0.js` resulting in lines like ``` ['core_5fbigfloat_2eh_8971',['CORE_BigFloat.h',['../../Number_types/CORE__BigFloat_8h.html.html',1,'']]], ``` this has been corrected. (Found in the CGAL code).
1 parent 93245ad commit 7bb28cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/searchindex.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ void writeJavaScriptSearchIndex()
10521052
QCString anchor = d->anchor();
10531053

10541054
ti << "'" << externalRef("../",d->getReference(),TRUE)
1055-
<< d->getOutputFileBase() << Doxygen::htmlFileExtension;
1055+
<< addHtmlExtensionIfMissing(d->getOutputFileBase());
10561056
if (!anchor.isEmpty())
10571057
{
10581058
ti << "#" << anchor;
@@ -1109,7 +1109,7 @@ void writeJavaScriptSearchIndex()
11091109
ti << "],[";
11101110
}
11111111
ti << "'" << externalRef("../",d->getReference(),TRUE)
1112-
<< d->getOutputFileBase() << Doxygen::htmlFileExtension;
1112+
<< addHtmlExtensionIfMissing(d->getOutputFileBase());
11131113
if (!anchor.isEmpty())
11141114
{
11151115
ti << "#" << anchor;

0 commit comments

Comments
 (0)