View Single Post
Old 08-18-2018, 03:52 PM   #6
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,369
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by KevinH View Post
Pretty printing tables is hard to do and not easy to change in this case. As td and tr are not inline tags and are more like block tags and are currently treated that way, ie whitespace immediately before and after is ignored. I will look into this when I get more free time but no promises, as technically what is currently done is correct and a search and replace using regular expressions should be possible to change it to what you prefer.
This^^. I have a saved search that condenses a table after I am done making sure it's good. Although I condense MUCH more than what you have.

Spoiler:
Code:
<table>
<tbody>
<tr><td>Yadda</td><td>Yadda</td><td>Yadda</td></tr>
<tr><td>Yadda</td><td>Yadda</td><td>Yadda</td></tr>
<tr><td>Yadda</td><td>Yadda</td><td>Yadda</td></tr>
</tbody>
</table>


I've attached the .ini if anyone wants to import it.
Attached Thumbnails
Click image for larger version

Name:	condenseTable.JPG
Views:	120
Size:	20.9 KB
ID:	165702  
Attached Files
File Type: zip condenseTable.zip (341 Bytes, 139 views)
Turtle91 is offline   Reply With Quote