|
Broken table layout January 31, 2012 10:15AM |
Registered: 3 years ago Posts: 12 |
Hello, please check this code: jsfiddle<antiaksimetdot>net/2Gjtt/
The same HTML code after purification: bit<antiaksimetdot>ly/Aj6RzP
As you can see table layout is broken. I know that this HTML code is not valid but I would like to keep table layout after purification. Is any change to fix this?
Raw HTML:
<table border="1">
<tr>
<td>
<table border="1" cellspacing="0" cellpadding="0">
<tr>
<th colspan="3">
Informacja o pasa?erach
</th>
</tr>
<td>
Tytu?
</td>
<td>
Imi?
</td>
<td>
Nazwisko
</td>
<tr>
<td>
XXX
</td>
<td>
XXX
</td>
<td>
XXX
</td>
</tr>
</table>
</td>
</tr>
</table>
|
Re: Broken table layout January 31, 2012 01:26PM |
Admin Registered: 6 years ago Posts: 2,632 |
Hmm, that sounds like HTML Purifier's table parsing algorithm is slightly off. What if you set %Core.LexerImpl to PH5P?
|
Re: Broken table layout February 02, 2012 06:45AM |
Registered: 3 years ago Posts: 12 |
|
Re: Broken table layout February 02, 2012 07:54AM |
Admin Registered: 6 years ago Posts: 2,632 |
|
Re: Broken table layout February 02, 2012 09:37AM |
Registered: 3 years ago Posts: 12 |
|
Re: Broken table layout February 02, 2012 09:41AM |
Admin Registered: 6 years ago Posts: 2,632 |
|
Re: Broken table layout February 02, 2012 10:58AM |
Registered: 3 years ago Posts: 12 |