We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d287e5c commit 7895507Copy full SHA for 7895507
src/comment.rs
@@ -552,7 +552,11 @@ impl ItemizedBlock {
552
/// The original line_start likely contains indentation (whitespaces), which we'd like to
553
/// replace with '> ' characters.
554
fn itemized_block_quote_start(line: &str, mut line_start: String, remove_indent: usize) -> String {
555
- let quote_level = line.chars().take_while(|&c| matches!(c, '>' | ' ')).filter(|&c| c == '>').count();
+ let quote_level = line
556
+ .chars()
557
+ .take_while(|&c| matches!(c, '>' | ' '))
558
+ .filter(|&c| c == '>')
559
+ .count();
560
561
for _ in 0..remove_indent {
562
line_start.pop();
0 commit comments