Link in XML content causes line breaks

Author Message

Simon Lynch

Monday 21 June 2004 1:51:45 am

Hi all,

Anyone come up against the fact that eZ seems to put link breaks (carridge returns in the HTML output) after a hyperlink <LINK> tag in XML content? This is a bit of a pain as it means that IE (in its wisdom) renders the output with an extra space.

I have code that looks like this:

<link href='/snip'>residence permit</link>.

And output that looks like this:

<a href="/snip">residence permit</a>
.<br />

Giving hyperlink and text that looks like this

residence permit .

----> any ideas would be most welcome. Or is this a bug, I couldn't find any references to this anywhere.

Thanks in advance, Simon

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 19 2025 00:57:06
Script start
Timing: Jan 19 2025 00:57:06
Module start 'layout'
Timing: Jan 19 2025 00:57:06
Module start 'content'
Timing: Jan 19 2025 00:57:06
Module end 'content'
Timing: Jan 19 2025 00:57:06
Script end

Main resources:

Total runtime0.5574 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0074 589.1719152.6250
Module start 'layout' 0.00740.0039 741.796939.4453
Module start 'content' 0.01130.5445 781.2422400.4531
Module end 'content' 0.55580.0016 1,181.69538.1563
Script end 0.5574  1,189.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.6425160.0002
Check MTime0.00140.2511160.0001
Mysql Total
Database connection0.00080.144810.0008
Mysqli_queries0.517792.8753460.0113
Looping result0.00040.0764440.0000
Template Total0.521393.520.2607
Template load0.00200.358320.0010
Template processing0.519393.164820.2596
Template load and register function0.00020.042210.0002
states
state_id_array0.00250.451210.0025
state_identifier_array0.00140.242720.0007
Override
Cache load0.00150.2713140.0001
Sytem overhead
Fetch class attribute can translate value0.00090.159310.0009
Fetch class attribute name0.00080.141510.0008
XML
Image XML parsing0.00010.019410.0001
class_abstraction
Instantiating content class attribute0.00000.000910.0000
General
dbfile0.00070.1321100.0001
String conversion0.00000.001840.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs