mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
reset markup on newline
This commit is contained in:
parent
b4a387601f
commit
2f292537ad
1 changed files with 3 additions and 0 deletions
|
|
@ -94,6 +94,9 @@ Result<CharT> process_markdown(
|
|||
restyle(first, style, styles, ss, pos, eraseMarkdown);
|
||||
continue;
|
||||
}
|
||||
if (first == '\n') {
|
||||
styles.palette.push_back(styles.palette.at(1));
|
||||
}
|
||||
emit(first, styles, ss);
|
||||
pos++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue