From cb2a577bcaa08c594daab1c31019753e3ec606df Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 17 Feb 2024 10:22:22 +0100 Subject: [PATCH] use div instead of p --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index c6a1774..62397ff 100644 --- a/src/main.rs +++ b/src/main.rs @@ -45,7 +45,7 @@ fn print_header(header: Heading, level: usize) -> String { ret.push_str(&format!( "
\ {1}\n\ -

", +

", level + 2, header_title )); @@ -63,7 +63,7 @@ fn print_header(header: Heading, level: usize) -> String { } } - ret.push_str("

"); + ret.push_str(""); ret }