Skip to content

Commit

Permalink
Fix lints syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Oct 18, 2024
1 parent 82969e5 commit da19d47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/compile-test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,8 @@ struct Renderer<'a> {

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

0 comments on commit da19d47

Please sign in to comment.