From 97f2d220240a1f6692627171398a06a3fa238639 Mon Sep 17 00:00:00 2001 From: albert-github Date: Thu, 11 Oct 2018 14:40:15 +0200 Subject: 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. --- src/reflist.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 += "
"; doc += item->text; -- cgit v0.12