mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
fix(markdown): parse a table that follows a text line without a blank line (#1749)
This commit is contained in:
1 parent
4a16921242
commit
a297f89b83
3 files changed
+51
No files matched your search
@@ -159,6 +159,11 @@ impl RuntimeState<'_> {
|
||||
let next_line = &self.lines[self.current_line + consumed].text;
|
||||
let trimmed_next = trim_start(next_line);
|
||||
if crate::block::is_block_start(trimmed_next, self.parser.flags())
|
||||
|| crate::block::is_table_start(
|
||||
&self.lines,
|
||||
self.current_line + consumed,
|
||||
self.parser.flags(),
|
||||
)
|
||||
|| trimmed_next.is_empty()
|
||||
{
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user