mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +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);
|
restyle(first, style, styles, ss, pos, eraseMarkdown);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (first == '\n') {
|
||||||
|
styles.palette.push_back(styles.palette.at(1));
|
||||||
|
}
|
||||||
emit(first, styles, ss);
|
emit(first, styles, ss);
|
||||||
pos++;
|
pos++;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue