Trim custom comment prefixes from code block without closing backticks
This commit is contained in:
parent
e4125ff96a
commit
a70213b009
@ -406,7 +406,7 @@ fn rewrite_comment_inner(
|
||||
// We will leave them untouched.
|
||||
result.push_str(&comment_line_separator);
|
||||
result.push_str(&join_code_block_with_comment_line_separator(
|
||||
&code_block_buffer,
|
||||
&trim_custom_comment_prefix(&code_block_buffer),
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user