mirror of
https://codeberg.org/Cyborus/forgejo-cli.git
synced 2024-09-20 08:05:04 +02:00
fix first line of blockquote being grey
This commit is contained in:
parent
45e3565a9d
commit
5a8626c2e3
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue