diff options
author | albert-github <albert.tests@gmail.com> | 2018-10-11 12:40:15 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-10-11 12:40:15 (GMT) |
commit | 97f2d220240a1f6692627171398a06a3fa238639 (patch) | |
tree | 82844f50fd7ce6fb8822bb464d4f26b65a559a0d /src | |
parent | 36eefaf9a5faeb828c0d99bffb731747a59f17fe (diff) | |
download | Doxygen-97f2d220240a1f6692627171398a06a3fa238639.zip Doxygen-97f2d220240a1f6692627171398a06a3fa238639.tar.gz Doxygen-97f2d220240a1f6692627171398a06a3fa238639.tar.bz2 |
issue_6533: PHP: Namespaced typehints in deprecated methods not handled correctly
Besides backslashes in the title (issue #5901) the backslashes in the argument list need to be escaped.
Diffstat (limited to 'src')
-rw-r--r-- | src/reflist.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/reflist.cpp b/src/reflist.cpp index 1da603e..e551743 100644 --- a/src/reflist.cpp +++ b/src/reflist.cpp @@ -171,7 +171,8 @@ void RefList::generatePage() if (!item->args.isEmpty()) { // escape @'s in argument list, needed for Java annotations (see issue #6208) - doc += substitute(item->args,"@","@@"); + // escape \'s in argument list (see issue #6533) + doc += substitute(substitute(item->args,"@","@@"),"\\","\\\\"); } doc += "</dt><dd> "; doc += item->text; |