Skip to content

Commit

Permalink
Greatly reduce generated HTML page size
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Oct 3, 2024
1 parent 80eb9cf commit 6039343
Show file tree
Hide file tree
Showing 5 changed files with 207 additions and 214 deletions.
1 change: 1 addition & 0 deletions rinja.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[general]
dirs = ["util/gh-pages/"]
whitespace = "suppress"
2 changes: 1 addition & 1 deletion tests/compile-test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Loading

0 comments on commit 6039343

Please sign in to comment.