Skip to content

Commit

Permalink
test empty table inside list
Browse files Browse the repository at this point in the history
  • Loading branch information
sftse committed Sep 12, 2024
1 parent 0476d71 commit c2e43c7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2011,6 +2011,20 @@ fn test_table_too_narrow() {
from_read(tbl, 80);
}

#[test]
fn test_empty_table_in_list() {
test_html(
b"
<ul>
<table>
<tr></tr>
</table>
</ul>",
"",
80,
);
}

#[cfg(feature = "css")]
mod css_tests {
use super::{test_html_coloured, test_html_css, test_html_style};
Expand Down

0 comments on commit c2e43c7

Please sign in to comment.