diff options
author | Cyborus <cyborus@cyborus.xyz> | 2024-06-08 22:24:23 +0200 |
---|---|---|
committer | Cyborus <cyborus@cyborus.xyz> | 2024-06-08 22:24:23 +0200 |
commit | 5a8626c2e3272d4a926fd019e3188a0790c39790 (patch) | |
tree | afc21423caacf414b71c7dd408364c11276a8e46 | |
parent | skip markdown handling for non-fancy output (diff) | |
download | forgejo-cli-5a8626c2e3272d4a926fd019e3188a0790c39790.tar.xz forgejo-cli-5a8626c2e3272d4a926fd019e3188a0790c39790.zip |
fix first line of blockquote being grey
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index ebcc9d0..6bd8a45 100644 --- a/src/main.rs +++ b/src/main.rs @@ -406,7 +406,9 @@ fn markdown(text: &str) -> String { } (NodeValue::BlockQuote, Start) => { ansi_printer.blockquote_depth += 1; + ansi_printer.pause_style(); ansi_printer.prefix(); + ansi_printer.resume_style(); } (NodeValue::BlockQuote, End) => { ansi_printer.blockquote_depth -= 1; |