diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-12-26 19:54:00 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-12-26 19:54:00 (GMT) |
commit | 8abb5ab5f1c890099120f19bfb183e95dc611221 (patch) | |
tree | ccef8e5dc033208feca63db9a52277321698d9cd /src | |
parent | 05372137d19e3ac5f49f6a0072dbbd9b53e25005 (diff) | |
parent | 0ee669cc7239bf2cfdd6091c699cd7d89506506b (diff) | |
download | Doxygen-8abb5ab5f1c890099120f19bfb183e95dc611221.zip Doxygen-8abb5ab5f1c890099120f19bfb183e95dc611221.tar.gz Doxygen-8abb5ab5f1c890099120f19bfb183e95dc611221.tar.bz2 |
Merge branch 'master' of github.com:doxygen/doxygen
Diffstat (limited to 'src')
-rw-r--r-- | src/markdown.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp index 4a40a35..340ac99 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -1649,7 +1649,7 @@ static bool isFencedCodeBlock(const char *data,int size,int refIndent, { if (data[i]==tildaChar) { - end=i-1; + end=i; int endTildes=0; while (i<size && data[i]==tildaChar) endTildes++,i++; while (i<size && data[i]==' ') i++; @@ -2291,7 +2291,6 @@ void Markdown::writeFencedCodeBlock(const char *data,const char *lng, m_out.addStr("{"+lang+"}"); } addStrEscapeUtf8Nbsp(data+blockStart,blockEnd-blockStart); - m_out.addStr(" "); m_out.addStr("@endcode"); } |