new_sub_renderer can be called with 0 size (causing a panic!)
lewisdiamond opened this issue · 2 comments
lewisdiamond commented
see
Line 953 in 4b3081d
lewisdiamond commented
The problem seems to be related to Headers inside Tables.
#[test]
fn test_header_width() {
//0 size
test_html(
br##"
<h2>
<table>
<h3>Anything</h3>
</table>
</h2>
"##,
r#"## ### An
## ### yt
## ### hi
## ### ng
─────
"#,
7,
);
jugglerchris commented
Thanks for the report! I'll take a look at the PR.