mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibMarkdown: Make thematic break parsing more correct
also fix a conflict with lists and thematic breaks
This commit is contained in:
parent
5ad44ac2e5
commit
c15c57a6af
Notes:
sideshowbarker
2024-07-17 11:32:06 +09:00
Author: https://github.com/petelliott
Commit: c15c57a6af
Pull-request: https://github.com/SerenityOS/serenity/pull/13803
2 changed files with 6 additions and 10 deletions
|
@ -108,11 +108,11 @@ OwnPtr<ContainerBlock> ContainerBlock::parse(LineIterator& lines)
|
|||
}
|
||||
|
||||
bool any = try_parse_block<Table>(lines, blocks)
|
||||
|| try_parse_block<HorizontalRule>(lines, blocks)
|
||||
|| try_parse_block<List>(lines, blocks)
|
||||
|| try_parse_block<CodeBlock>(lines, blocks)
|
||||
|| try_parse_block<CommentBlock>(lines, blocks)
|
||||
|| try_parse_block<Heading>(lines, blocks)
|
||||
|| try_parse_block<HorizontalRule>(lines, blocks)
|
||||
|| try_parse_block<BlockQuote>(lines, blocks);
|
||||
|
||||
if (any) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue