Skip to content

Commit 0cf3c98

Browse files
committed
issue doxygen#12148 HTML output generated from C-project contains invalid JavaScript if a source file starts with a number.
In the PR doxygen#12149 a regression was introduce, it was not possible anymore to search for files that started with a number as also in the search terms (`term_encoding`) a `_` was added.
1 parent 806131f commit 0cf3c98

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/searchindex_js.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,6 @@ void SearchTerm::makeTitle()
6262
QCString SearchTerm::termEncoded() const
6363
{
6464
TextStream t;
65-
if (word.length() && (isdigit(word.at(0)) || !isIdJS(word.at(0))))
66-
{
67-
t << '_'; // ensure result starts with character valid for identifier
68-
}
6965

7066
for (size_t i=0;i<word.length();i++)
7167
{

0 commit comments

Comments
 (0)