Greatly reduce generated HTML page size

This commit is contained in:
Guillaume Gomez 2024-08-29 21:24:56 +02:00
parent 80eb9cfa14
commit 603934336d
5 changed files with 207 additions and 214 deletions

View file

@ -394,7 +394,7 @@ struct Renderer<'a> {
lints: &'a Vec<LintMetadata>,
}
impl<'a> Renderer<'a> {
impl Renderer<'_> {
fn markdown(input: &str) -> Safe<String> {
let parser = Parser::new_ext(input, Options::all());
let mut html_output = String::new();