A fairly common pattern for tables in wikitext seems to be:
{| class="wikitable" |'''Properties''' |'''Exact Value''' |'''Measurement''' |'''I Don’t Know/Am Not Sure''' |---- |generation time (P3337) | |X | |---- |operating income (P3362) | |X | |---- |}
Specifically ending on:
|---- |}
Following this pattern results in a blank row being specified at the end of the table. When rendering wikitext to HTML, Parsoid turns this into an empty <tr></tr>, which is certainly a fair representation of what the wikitext says, but is also invalid HTML.
Currently, because of Tidy, that empty tr gets stripped. As we remove Tidy, we'll start outputting invalid markup as a result of this.
Thoughts on what the correct course of action here is? Obviously, we can just not-output empty trs, but in cases like providing output to Visual Editor that may result in some inadvertent changes to the underlying wikitext on a save. Or at least having to put some thought into what changes should cause a stripped tr to actually be removed, etc.