diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2016-07-23 11:46:05 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2016-07-23 11:46:05 (GMT) |
commit | 402970f77f961b85b6371c8e53bd69981435c2d7 (patch) | |
tree | 40155b696ec49b97c8186f95feed0cc1795aed8c /src | |
parent | 10256be351f8f00ba5986750a08df1108bf6a4f7 (diff) | |
download | Doxygen-402970f77f961b85b6371c8e53bd69981435c2d7.zip Doxygen-402970f77f961b85b6371c8e53bd69981435c2d7.tar.gz Doxygen-402970f77f961b85b6371c8e53bd69981435c2d7.tar.bz2 |
Fix issue escaping backslash inside markdown style code span
Diffstat (limited to 'src')
-rw-r--r-- | src/markdown.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp index 84e52ba..9526ce2 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -122,6 +122,7 @@ static QCString escapeSpecialChars(const QCString &s) case '"': if (pc!='\\') { insideQuote=!insideQuote; } growBuf.addChar(c); break; case '<': if (!insideQuote) { growBuf.addChar('\\'); } growBuf.addChar('<'); break; case '>': if (!insideQuote) { growBuf.addChar('\\'); } growBuf.addChar('>'); break; + case '\\': if (!insideQuote) { growBuf.addChar('\\'); } growBuf.addChar('\\'); break; case '@': if (!insideQuote) { growBuf.addChar('\\'); } growBuf.addChar('@'); break; default: growBuf.addChar(c); break; } |