diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2012-12-26 15:59:17 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2012-12-26 15:59:17 (GMT) |
commit | 48f4de5c47d55b6622b6fdc9b5c288e19d5692f9 (patch) | |
tree | 629c4681a5158d26512b815623754b33165d8d23 /src/markdown.cpp | |
parent | fee4053bd3dd075a2dd2cba4da8166ec5307eadd (diff) | |
download | Doxygen-48f4de5c47d55b6622b6fdc9b5c288e19d5692f9.zip Doxygen-48f4de5c47d55b6622b6fdc9b5c288e19d5692f9.tar.gz Doxygen-48f4de5c47d55b6622b6fdc9b5c288e19d5692f9.tar.bz2 |
Release-1.8.3
Diffstat (limited to 'src/markdown.cpp')
-rw-r--r-- | src/markdown.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp index 2571a1a..15b36a3 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -299,6 +299,10 @@ static int findEmphasisChar(const char *data, int size, char c, int c_size) i++; } } + else if (i<size-1 && isIdChar(i+1)) // @cmd, stop processing, see bug 690385 + { + return 0; + } else { i++; @@ -1700,7 +1704,8 @@ static int writeBlockQuote(GrowBuf &out,const char *data,int size) else if (j>0 && data[j-1]=='>') indent=j+1; j++; } - if (j>0 && data[j-1]=='>') // disqualify last > if not followed by space + if (j>0 && data[j-1]=='>' && + !(j==size || data[j]=='\n')) // disqualify last > if not followed by space { indent--; j--; |