Page 1 of 1

A lot of line breaks <br> in table

Posted: Mon May 23, 2011 11:24 pm
by jeep
Since I have updated to serendipity 1.5.x i have had problems with articles contaning tables. The article looks good in the editor, but when published a lot of line breaks is added:

Code: Select all

<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td align="baseline"><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><table cellspacing="1" cellpadding="1" border="0" style="width: 200px; height: 250px; ">
<tbody>
<tr>
<td style="vertical-align: top; "><font face="verdana,arial,helvetica,sans-serif" size="2"><em>Placering</em></font></td>
<td align="left" style="vertical-align: top; "><em><font face="verdana,arial,helvetica,sans-serif" size="2">Namn</font></em></td>
....
</tr>
</tbody>
</table>
It looks terrible. I have tried all 1.5.x versions of s9y and Firefox/IE/Chrome different versions but always end up with the same result. This worked fine in 1.4.x version with the same setup/plugins.
Does any one have any idea how to fix this?

[SOLVED]
Ok, I solved disabling the NL2BR plugin. (found in old post)

Re: A lot of line breaks <br> in table

Posted: Tue May 24, 2011 10:11 am
by Timbalu
To disable nl2br in generally isn't really an option, since you need these paragraphs (p) or linebreaks (br) in entries, comments, etc. You can disable it with the extended properties plugin for a single entry, or use the p option in generally, or use the new one found here http://board.s9y.org/viewtopic.php?f=2&t=17544 with a new stop br parsing tag <nl> </nl>.