diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2016-05-01 17:01:27 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2016-05-01 17:01:27 (GMT) |
commit | 33915cdce6b66af7e0f8d3e98d741df6e9cc5e32 (patch) | |
tree | a6ef925413c649c76b3ce79ab1c54edfdb0f2608 | |
parent | 5e5705448805e78000023e89fac8ce9db85c8c23 (diff) | |
parent | e70b45fa4398450b588122f9d36b1ed514fc336a (diff) | |
download | Doxygen-33915cdce6b66af7e0f8d3e98d741df6e9cc5e32.zip Doxygen-33915cdce6b66af7e0f8d3e98d741df6e9cc5e32.tar.gz Doxygen-33915cdce6b66af7e0f8d3e98d741df6e9cc5e32.tar.bz2 |
Merge pull request #474 from c-lipka/fix_765001
Bug 765001 - Bad character escaping scheme in HTML anchor generation.
-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; } |