summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/reflist.cpp3
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;