diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-10-08 16:50:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-08 16:50:16 (GMT) |
commit | 074f9ba53fee4c6f47f6fb997c37a02f6a2c374e (patch) | |
tree | 7e1b17f755effb51deddf603ec645fb03118bc19 | |
parent | 7859a9a0374df8da60d498857b8f805f861b83d1 (diff) | |
parent | 85fba651ec2a6062e5ab21f06783770ab6fede3b (diff) | |
download | Doxygen-074f9ba53fee4c6f47f6fb997c37a02f6a2c374e.zip Doxygen-074f9ba53fee4c6f47f6fb997c37a02f6a2c374e.tar.gz Doxygen-074f9ba53fee4c6f47f6fb997c37a02f6a2c374e.tar.bz2 |
Merge pull request #8084 from albert-github/feature/bug_md_verb_cnt
Incorrect counting of markdown verbatim block
-rw-r--r-- | src/markdown.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp index ae78533..bd7751a 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -2130,6 +2130,7 @@ int Markdown::writeCodeBlock(const char *data,int size,int refIndent) TRACE(data); int i=0,end; //printf("writeCodeBlock: data={%s}\n",QCString(data).left(size).data()); + // no need for \ilinebr here as the prvious like was empty and was skipped m_out.addStr("@verbatim\n"); int emptyLines=0; while (i<size) @@ -2164,7 +2165,7 @@ int Markdown::writeCodeBlock(const char *data,int size,int refIndent) break; } } - m_out.addStr("@endverbatim\n"); + m_out.addStr("@endverbatim\\ilinebr "); while (emptyLines>0) // write skipped empty lines { // add empty line |