diff --git a/tests/compile-test.rs b/tests/compile-test.rs index 5774e20e0be5..b8e0413e97bc 100644 --- a/tests/compile-test.rs +++ b/tests/compile-test.rs @@ -396,7 +396,8 @@ struct Renderer<'a> { impl Renderer<'_> { fn markdown(input: &str) -> Safe { - 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 diff --git a/util/gh-pages/index_template.html b/util/gh-pages/index_template.html index 2412f0fd1813..37514a0b2ac8 100644 --- a/util/gh-pages/index_template.html +++ b/util/gh-pages/index_template.html @@ -143,26 +143,29 @@

Clippy Lints

{# #} {# #} {% for lint in lints %} -