diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-12-10 18:59:23 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-12-10 18:59:23 (GMT) |
commit | c5ae197818ae4d5f669a32981060779edbc8a376 (patch) | |
tree | 98f53a338cbaaa532381780d8a1c2c43e54dcdb0 | |
parent | 40b84627bdad3b1e03c0a6c603c6a7e299ce04c0 (diff) | |
download | Doxygen-c5ae197818ae4d5f669a32981060779edbc8a376.zip Doxygen-c5ae197818ae4d5f669a32981060779edbc8a376.tar.gz Doxygen-c5ae197818ae4d5f669a32981060779edbc8a376.tar.bz2 |
doxygen /** style creates spurious code blocks with markdown enabled
-rw-r--r-- | src/markdown.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp index eb5a2a2..2a6d9d3 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -1974,6 +1974,9 @@ static QCString processBlocks(const QCString &s,int indent) end++; } +#if 0 // commented out, since starting with a comment block is probably a usage error + // see also http://stackoverflow.com/q/20478611/784672 + // special case when the documentation starts with a code block // since the first line is skipped when looking for a code block later on. if (end>codeBlockIndent && isCodeBlock(data,0,end,blockIndent)) @@ -1982,6 +1985,7 @@ static QCString processBlocks(const QCString &s,int indent) end=i+1; pi=-1; } +#endif // process each line while (i<size) |