This commit is contained in:
parent
ccd629063d
commit
cb2a577bca
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user