use div instead of p
All checks were successful
CI/CD Pipeline / test (push) Successful in 1m34s

This commit is contained in:
philipp 2024-02-17 10:22:22 +01:00
parent ccd629063d
commit cb2a577bca

View File

@ -45,7 +45,7 @@ fn print_header(header: Heading, level: usize) -> String {
ret.push_str(&format!( ret.push_str(&format!(
"<details>\ "<details>\
<summary><h{0}>{1}</h{0}></summary>\n\ <summary><h{0}>{1}</h{0}></summary>\n\
<p>", <div>",
level + 2, level + 2,
header_title header_title
)); ));
@ -63,7 +63,7 @@ fn print_header(header: Heading, level: usize) -> String {
} }
} }
ret.push_str("</p></details>"); ret.push_str("</div></details>");
ret ret
} }