diff options
-rw-r--r-- | src/htmlhelp.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/htmlhelp.cpp b/src/htmlhelp.cpp index 24649aa..fbfece0 100644 --- a/src/htmlhelp.cpp +++ b/src/htmlhelp.cpp @@ -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; } |