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 | |
parent | 10256be351f8f00ba5986750a08df1108bf6a4f7 (diff) | |
download | Doxygen-402970f77f961b85b6371c8e53bd69981435c2d7.zip Doxygen-402970f77f961b85b6371c8e53bd69981435c2d7.tar.gz Doxygen-402970f77f961b85b6371c8e53bd69981435c2d7.tar.bz2 |
Fix issue escaping backslash inside markdown style code span
-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; } |