-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels