Skip to content

Commit 9366738

Browse files
authored
Merge pull request doxygen#12154 from albert-github/feature/issue_12148_2
issue doxygen#12148 HTML output generated from C-project contains invalid JavaScript if a source file starts with a number.
2 parents 806131f + 0cf3c98 commit 9366738

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)