Trim custom comment prefixes from code block without closing backticks

This commit is contained in:
Seiichi Uchida 2018-06-05 15:57:03 +09:00
parent e4125ff96a
commit a70213b009

View File

@ -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),
));
}
}