Problem rendering &apos

Author Message

James Ward

Thursday 22 January 2009 1:18:28 pm

I am having trouble with an &apos character no rendering correctly in IE. Since the data is being pulled from an XML feed I have to modify the output to fix the problem.

Following the advice here:
http://ez.no/developer/forum/developer/displaying_apostrophes

I changed my output from:
{$node.data_map.description.data_text|xmlwash()}
to:
{$node.data_map.description.content.output.output_text}

However this is having an unintended consequence on my site design.

The old data_text method would appear in the source code with:
<section>
<paragraph>
preceding it.

The output_text code appears in the source with just a <p> preceding it.

Where or how can I change this behavior?

working at www.wardnet.com
blogging at www.jamesward.ca

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 31 2025 00:21:51
Script start
Timing: Jan 31 2025 00:21:51
Module start 'layout'
Timing: Jan 31 2025 00:21:51
Module start 'content'
Timing: Jan 31 2025 00:21:51
Module end 'content'
Timing: Jan 31 2025 00:21:51
Script end

Main resources:

Total runtime0.0235 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0041 588.1250151.2109
Module start 'layout' 0.00410.0031 739.3359220.6875
Module start 'content' 0.00710.0148 960.0234997.7734
Module end 'content' 0.02200.0015 1,957.796929.9922
Script end 0.0235  1,987.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002510.6889140.0002
Check MTime0.00104.2132140.0001
Mysql Total
Database connection0.00052.303110.0005
Mysqli_queries0.00187.434830.0006
Looping result0.00000.037510.0000
Template Total0.00114.610.0011
Template load0.00083.411010.0008
Template processing0.00031.125210.0003
Override
Cache load0.00052.327410.0005
General
dbfile0.002711.394880.0003
String conversion0.00000.026340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs