Skip to content

Commit d60d145

Browse files
Fix lints syntax highlighting
1 parent d829990 commit d60d145

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/compile-test.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,8 @@ struct Renderer<'a> {
396396

397397
impl Renderer<'_> {
398398
fn markdown(input: &str) -> Safe<String> {
399-
let parser = Parser::new_ext(input, Options::all());
399+
let input = clippy_config::sanitize_explanation(input);
400+
let parser = Parser::new_ext(&input, Options::all());
400401
let mut html_output = String::new();
401402
html::push_html(&mut html_output, parser);
402403
// Oh deer, what a hack :O

0 commit comments

Comments
 (0)