Skip to content

Commit

Permalink
Merge pull request #474 from c-lipka/fix_765001
Browse files Browse the repository at this point in the history
Bug 765001 - Bad character escaping scheme in HTML anchor generation.
  • Loading branch information
Dimitri van Heesch committed May 1, 2016
2 parents 5e57054 + e70b45f commit 33915cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/htmlhelp.cpp
Expand Up @@ -134,7 +134,8 @@ static QCString field2URL(const IndexField *f,bool checkReversed)
QCString result = f->url + Doxygen::htmlFileExtension;
if (!f->anchor.isEmpty() && (!checkReversed || f->reversed))
{
result+="#"+f->anchor;
// HTML Help needs colons in link anchors to be escaped in the .hhk file.
result+="#"+substitute(f->anchor,":","%3A");
}
return result;
}
Expand Down

0 comments on commit 33915cd

Please sign in to comment.