summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-05-15 12:31:07 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-05-15 12:31:07 (GMT)
commit879848ea2dfa5435c3efeeaa1a925e12861a9035 (patch)
tree02a0af7689e2491947d2fb7cd3c346cbbc781b58 /src
parentfc73eb94348ca6f567334d1c0f08d0f3b860d081 (diff)
downloadDoxygen-879848ea2dfa5435c3efeeaa1a925e12861a9035.zip
Doxygen-879848ea2dfa5435c3efeeaa1a925e12861a9035.tar.gz
Doxygen-879848ea2dfa5435c3efeeaa1a925e12861a9035.tar.bz2
issue #6990 Dot produces no Graphs
Backslashes also have to be escaped otherwise a tooltip / brief description like `//!replace "\" with "\\"` won't be produced properly.
Diffstat (limited to 'src')
-rw-r--r--src/dot.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index 2d4c41a..101cbc6 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -1699,6 +1699,7 @@ static QCString escapeTooltip(const QCString &tooltip)
switch(c)
{
case '"': result+="\\\""; break;
+ case '\\': result+="\\\\"; break;
default: result+=c; break;
}
}