diff options
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; } |