Welcome! » Log In » Create A New Profile

Maintaining newlines in table HTML

Posted by Brett Gardner 
Brett Gardner
Maintaining newlines in table HTML
May 20, 2010 12:47AM

The html

<table>
 <tr>
  <td>foo</td>
 </tr>
</table>

gets converted to

<table><tr><td>foo</td>
 </tr></table>

by the purifier. It seems to only maintain indentation on closing tags. Is there anyway to get it to maintain indents for the opening "table" and "tr" tags?

Re: Maintaining newlines in table HTML
May 20, 2010 02:06PM

Try %Core.LexerImpl set to DirectLex.

Brett Gardner
Re: Maintaining newlines in table HTML
May 24, 2010 02:19AM

That worked. thanks.

Sorry, you do not have permission to post/reply in this forum.