fix first line of blockquote being grey

This commit is contained in:
Cyborus 2024-06-08 16:24:23 -04:00
parent 45e3565a9d
commit 5a8626c2e3
No known key found for this signature in database

View file

@ -406,7 +406,9 @@ fn markdown(text: &str) -> String {
} }
(NodeValue::BlockQuote, Start) => { (NodeValue::BlockQuote, Start) => {
ansi_printer.blockquote_depth += 1; ansi_printer.blockquote_depth += 1;
ansi_printer.pause_style();
ansi_printer.prefix(); ansi_printer.prefix();
ansi_printer.resume_style();
} }
(NodeValue::BlockQuote, End) => { (NodeValue::BlockQuote, End) => {
ansi_printer.blockquote_depth -= 1; ansi_printer.blockquote_depth -= 1;