Any suggestions on how handle the following table format?
const HTML_TABLE_ROW_SPAN: &'static str = r#"
<table id="first">
<tbody>
<tr><th>Name</th><th>Age</th></tr>
<tr><td rowspan=2>John</td><td>20</td></tr>
<tr><td>1</td></tr>
<tr><td rowspan=2>Greg</td><td>22</td></tr>
<tr><td>2</td></tr>
</tbody>
</table>
"#;
EDIT:
If any one ever encounters something similar, my current solution is to compare
the length of table headers to the length of row cells,
on subsequent rows there will always be less cells.
Any suggestions on how handle the following table format?
EDIT:
If any one ever encounters something similar, my current solution is to compare
the length of table headers to the length of row cells,
on subsequent rows there will always be less cells.