summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/markdown.cpp1
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;