HTML-Renderer icon indicating copy to clipboard operation
HTML-Renderer copied to clipboard

<tr style="display: none;"> does not work

Open Smurf-IV opened this issue 8 years ago • 2 comments

When applied via a class, or style, the above does not hide the table line as expected. This works in IE as expected.

Smurf-IV avatar Sep 18 '17 15:09 Smurf-IV

Setting <tr style="visibility: collapse"> Hides the row, but the table then has a "Gap" where the rows are supposed to be. Again, works as expected in IE 11

Smurf-IV avatar Sep 18 '17 15:09 Smurf-IV

This library base implementation (probably was long before Arthur began committing to it) is really hacky, it is nowhere near how a real HTML renderer should work or be implemented. So don't count on uncommon use cases like this to work, better to just delete them entirely from your HTML source by a RegEx or something.

But it's very good that you submitted the ticket, of course - thanks for this 👍

bjorn-ali-goransson avatar Jan 10 '18 21:01 bjorn-ali-goransson