We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f559aad commit f1a5c62Copy full SHA for f1a5c62
src/docnode.cpp
@@ -5385,11 +5385,7 @@ int DocPara::parse()
5385
bool rerun = false;
5386
while (n)
5387
{
5388
- if (std::get_if<DocAutoListItem>(n))
5389
- {
5390
- continue;
5391
- }
5392
- else if (std::get_if<DocAutoList>(n))
+ if (std::get_if<DocAutoList>(n))
5393
5394
const DocAutoList *al = std::get_if<DocAutoList>(n);
5395
indent = al->indent();
@@ -5414,7 +5410,7 @@ int DocPara::parse()
5414
5410
break;
5415
5411
}
5416
5412
5417
- else
5413
+ else if (!std::get_if<DocAutoListItem>(n))
5418
5419
5420
0 commit comments