diff options
-rw-r--r-- | doc/install.doc | 2 | ||||
-rw-r--r-- | src/markdown.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/install.doc b/doc/install.doc index 16ed67c..5a73f5b 100644 --- a/doc/install.doc +++ b/doc/install.doc @@ -106,7 +106,7 @@ Compilation is now done by performing the following steps: <li>Optional: Generate the user manual. - cmake -Dbuild_doc=YES + cmake -Dbuild_doc=YES .. make docs To let doxygen generate the HTML and PDF documentation. 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; } |