Strange tag output of OnlineEditor

Author Message

Christoph Polus

Monday 11 July 2005 7:21:27 am

Hi

I bought OE today and have slight problems with the output.

I've created a bullet list, when I disable the editor the XML looks like this

<header level='1'>Dienste</header>
<ul>
  <li>Personen</li>
  <li>Designs</li>
</ul>

OK, rendered on the page using the attribute_view_gui it looks like this:

<h2>Dienste</h2>
<ul>

<li>
<p>
Personen
</p>

</li>

<li>
<p>
Designs

</p>
</li>

</ul>

This looks not only ugly but I also wonder where the paragraph tag comes from. I checked li.tpl but I don't see anything like it there.

Any hints where I could start looking for eliminating those p-tags?

Thanks
Chris

Andrew Wigglesworth

Thursday 21 July 2005 9:27:59 am

I'm getting exactly the same thing. It occurred when we were using XMLarea and now with the Ez Online Editor.

It is extremely frustrating because it screws up the layout of the page, fonts, font sizes etc.

It is also bad html/xml.

Is there a way of solving this?

Andrew Wigglesworth

Thursday 21 July 2005 9:31:33 am

Playing around with the system it seems that Ez Publish is deciding that the text is paragraph text and therefore using the paragraph ezxmltags template and then putting that through the ezxmltags list template.

Surely this cannot be the default behaviour. How can this be stopped from happening?

Andrew Wigglesworth

Thursday 21 July 2005 9:37:21 am

Oh, and we're running eZ Publish 3.5.1

Christoph Polus

Tuesday 15 November 2005 2:20:47 am

Hi

Was there anything going on in this respect? Or is there an easy way to tweak OE not to insert the paragraph tags everywhere?

Chris.

Alexandre Abric

Tuesday 15 November 2005 2:42:21 am

Hi,

I guess this is a bug that has already been submitted. You should download the latest version of OE.

But I think there is still teh same kind of bug with tables.

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 18 2025 05:00:34
Script start
Timing: Jan 18 2025 05:00:34
Module start 'layout'
Timing: Jan 18 2025 05:00:34
Module start 'content'
Timing: Jan 18 2025 05:00:35
Module end 'content'
Timing: Jan 18 2025 05:00:35
Script end

Main resources:

Total runtime1.5590 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 589.1563152.6406
Module start 'layout' 0.00730.0054 741.796939.4766
Module start 'content' 0.01261.5437 781.2734570.1641
Module end 'content' 1.55630.0026 1,351.437512.1406
Script end 1.5589  1,363.5781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2294160.0002
Check MTime0.00150.0989160.0001
Mysql Total
Database connection0.00060.041710.0006
Mysqli_queries1.485295.2686680.0218
Looping result0.00090.0585660.0000
Template Total1.504696.520.7523
Template load0.00280.178620.0014
Template processing1.501896.330420.7509
Template load and register function0.00020.014610.0002
states
state_id_array0.00260.168610.0026
state_identifier_array0.00350.223920.0017
Override
Cache load0.00240.1565340.0001
Sytem overhead
Fetch class attribute can translate value0.00140.089930.0005
Fetch class attribute name0.00200.126670.0003
XML
Image XML parsing0.00090.054730.0003
class_abstraction
Instantiating content class attribute0.00020.011790.0000
General
dbfile0.00270.1734160.0002
String conversion0.00000.000840.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs