Skip to content

Commit

Permalink
issue doxygen#10950 ASSERT(0) in docnode.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
doxygen committed Jun 19, 2024
1 parent 48432a6 commit 7673d22
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/markdown.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2745,7 +2745,11 @@ size_t Markdown::Private::writeBlockQuote(std::string_view data)
level--;
j--;
}
if (level==0 && data[j-1]!='\n') level = curLevel; // lazy
AUTO_TRACE_ADD("indent={} i={} j={} end={} level={} line={}",indent,i,j,end,level,Trace::trunc(&data[i]));
if (level==0 && j<end-1)
{
level = curLevel; // lazy
}
if (level==1)
{
QCString txt = stripWhiteSpace(data.substr(indent,end-indent));
Expand Down

0 comments on commit 7673d22

Please sign in to comment.