I built a group of
CLIPS Saved Searches that got almost all of the table elements organized how I liked.
I would highlight and mark the text (ctrl-shift-m) and then run the group. I called the group "Compress Table" and it put each <tr> on its own line with all of the <td>s in the same line.
Looked something like this:
Code:
<table>
<thead>
<tr><th>....</th><th>....</th><th>....</th><th>....</th></tr>
</thead>
<tbody>
<tr><td>....</td><td>....</td><td>....</td><td>....</td></tr>
<tr><td>....</td><td>....</td><td>....</td><td>....</td></tr>
<tr><td>....</td><td>....</td><td>....</td><td>....</td></tr>
<tr><td>....</td><td>....</td><td>....</td><td>....</td></tr>
</tbody>
<tfoot>
<tr><td colspan="4">.....</td></tr>
</tfoot>
</table>
I'd place a copy of the clips group here for you, but my hard drive recently crashed and I lost everything..."Where's my backup?" you ask.... Great question...apparently one of my grandkids thought it was fun to play frisby with the standalone drives in my desk drawer...

Anyway, I haven't gotten around to rebuilding that particular group.
EDIT:
Sorry, I had clips on my brain… I should have said a group of saved searches.