Greatly reduce generated HTML page size
This commit is contained in:
parent
80eb9cfa14
commit
603934336d
5 changed files with 207 additions and 214 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue