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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 06:56:59
Script start
Timing: Jan 30 2025 06:56:59
Module start 'layout'
Timing: Jan 30 2025 06:56:59
Module start 'content'
Timing: Jan 30 2025 06:57:00
Module end 'content'
Timing: Jan 30 2025 06:57:00
Script end

Main resources:

Total runtime1.0672 sec
Peak memory usage8,192.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.1328151.2109
Module start 'layout' 0.00610.0042 739.3438220.6875
Module start 'content' 0.01031.0559 960.03134,377.7734
Module end 'content' 1.06630.0009 5,337.80478.0078
Script end 1.0672  5,345.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3597160.0002
Check MTime0.00140.1276160.0001
Mysql Total
Database connection0.00080.070510.0008
Mysqli_queries0.961490.0864460.0209
Looping result0.00050.0468440.0000
Template Total1.006194.320.5030
Template load0.00220.209320.0011
Template processing1.003894.057520.5019
Template load and register function0.00180.166810.0018
states
state_id_array0.00200.188310.0020
state_identifier_array0.00430.401820.0021
Override
Cache load0.00170.1600130.0001
Sytem overhead
Fetch class attribute can translate value0.00200.185210.0020
Fetch class attribute name0.00180.172020.0009
XML
Image XML parsing0.00430.407410.0043
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00600.5652160.0004
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs