mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09:00
LibMarkdown: Treat whitespace-only lines as blank in paragraphs
This commit is contained in:
parent
aef5aac772
commit
5847d326c3
Notes:
sideshowbarker
2024-07-17 11:31:48 +09:00
Author: https://github.com/petelliott
Commit: 5847d326c3
Pull-request: https://github.com/SerenityOS/serenity/pull/13803
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ OwnPtr<ContainerBlock> ContainerBlock::parse(LineIterator& lines)
|
|||
if (lines.is_end())
|
||||
break;
|
||||
|
||||
if ((*lines).is_empty()) {
|
||||
if ((*lines).is_whitespace()) {
|
||||
has_trailing_blank_lines = true;
|
||||
++lines;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue