Forums / Extensions / Problem with tables in the OE

Problem with tables in the OE

Author Message

Sébastien Antoniotti

Monday 10 September 2007 10:31:20 am

Hi,

I try to render an HTML table "as I want" in the OE, but I have still a problem :

Even if I disable the editor in order to directy entry this html code :

<table class='accessibilite'>
<tr>
  <th>Lorem</th>
  <td>ipsum</td>
  <td>site</td>
</tr>
</table>

The output in the public siteaccess is like this :

<table class='accessibilite'>
<tr>
  <th><p>Lorem</p></th>
  <td><p>ipsum</p></td>
  <td><p>site</p></td>
</tr>
</table>

It's very boring, because the OE systematically add <p> into cells ! and I have looked table.tpl, td.tpl and th.tpl and they are ok (they don't add <p>).

Is there any way to disable this ?

Thanks in advance !

eZ Publish Freelance
web : http://www.webaxis.fr