diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-02-18 19:29:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-18 19:29:38 (GMT) |
commit | d562d7a4bf3cec36858bdc8b01245da042024817 (patch) | |
tree | 588f7234e7c6834d19d066f692488221ac993de8 /src/markdown.cpp | |
parent | 2e6c4200f05116119c4d27b221375f5393f260bd (diff) | |
parent | 022c71ae9e72b24da2194dfaedd115f6662488b3 (diff) | |
download | Doxygen-d562d7a4bf3cec36858bdc8b01245da042024817.zip Doxygen-d562d7a4bf3cec36858bdc8b01245da042024817.tar.gz Doxygen-d562d7a4bf3cec36858bdc8b01245da042024817.tar.bz2 |
Merge pull request #6842 from albert-github/feature/issue_6840
issue #6840 Hash character in Markdown code span not rendered correctly
Diffstat (limited to 'src/markdown.cpp')
-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 93a4c91..56d160b 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -138,6 +138,7 @@ static QCString escapeSpecialChars(const QCString &s) 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; } pc=c; |