Open ptomato opened 2 months ago
Test case:
<emu-table id="table-foo"> <table class="real-table"> <thead> <tr> <th>Foo</th> </tr> </thead> <tr> <dt>Bar</dt> <!---------- note the accidental substitution of dt for td --> </tr> </table> </emu-table>
emu-format makes this into
<!DOCTYPE html> <emu-table id="table-foo"> <dt>Bar</dt> <!----------------- note the insertion of this extra dt element --> <table class="real-table"> <thead> <tr> <th>Foo</th> </tr> </thead> <tr> <dt>Bar</dt> </tr> </table> </emu-table>
Of course, garbage in, garbage out, but this might be a symptom of a correct table getting mangled in some circumstances. Feel free to close if not.
Test case:
emu-format makes this into
Of course, garbage in, garbage out, but this might be a symptom of a correct table getting mangled in some circumstances. Feel free to close if not.