mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-06 02:55:49 +03: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: https://github.com/SerenityOS/serenity/commit/5847d326c3 Pull-request: https://github.com/SerenityOS/serenity/pull/13803
@ -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…
Reference in New Issue
Block a user