Skip to content

Commit 28dea73

Browse files
committed
issue #10504 issue #10504 A list inside an alias on a markdown page seems broken, it repeats the alias indefinitely
Some indentation is needed before the `.`. An extra space is needed after the `\ilinebr` as one space is eaten by the function `extractPartAfterNewLine`.
1 parent bc316c3 commit 28dea73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docnode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5200,7 +5200,7 @@ static bool checkIfHtmlEndTagEndsAutoList(DocParser *parser,const DocNodeVariant
52005200
// insert an artificial 'end of autolist' marker and parse again
52015201
QCString indentStr;
52025202
indentStr.fill(' ',indent);
5203-
parser->tokenizer.unputString("\\ilinebr.\\ilinebr"+indentStr+"</"+parser->context.token->name+">");
5203+
parser->tokenizer.unputString("\\ilinebr "+indentStr+".\\ilinebr"+indentStr+"</"+parser->context.token->name+">");
52045204
return true;
52055205
}
52065206
}

0 commit comments

Comments
 (0)