Forums / Setup & design / p inside td tags does not work

p inside td tags does not work

Author Message

Henrik Farre

Monday 12 November 2007 4:54:05 am

Hi

I'm trying to insert p tags in the online editor (version 4.2.3), inside a table cell (td). I would like the resulting html to look something like this:

...
<td>
  <p>
   Some text, <a href="http://somesite.somedomain/">a link</a>
  </p>
</td>
...

OE says that the content I'm editing is inside a p tag:

<table> <tr> <td> <p> <a>

But the p tags disappear when the article is published, but the content of the p tags remain.

Empty p tags are allowed, but that should not have any influence on p tags with content :)

[paragraph]
AllowEmpty=true

P tags outside td tags also works without any problems

Bellcom Open Source < http://www.bellcom.dk >, Tel: +45 70 26 00 85
eZ Publish, Drupal, SugarCRM

Gwenal Le Bihan

Thursday 12 June 2008 6:55:51 am

Hi,

just in case the answer is still needed :

ezxml.ini(.append.php) (extension/ezwebin)

# Handler specific options
[ezxhtml]
# Determines to insert <p> tag inside a table cell in the output or not
# if there is only one <paragraph> tag inside a cell.
RenderParagraphInTableCells=enabled

Gwen

Henrik Farre

Monday 16 June 2008 1:05:26 am

Thanks for the reply. I can't remember how or if I fixed it :)

Bellcom Open Source < http://www.bellcom.dk >, Tel: +45 70 26 00 85
eZ Publish, Drupal, SugarCRM