Help with spesial character in txt field.

Author Message

Lars Tore Gustavsen

Wednesday 27 October 2004 11:36:11 pm

One of the authors on our site likes to use the en-dash. (the long -)

He normally puts his stuff in a normal article class. The problem is the header, putted in the title field.

If he just write - (not this, but the long one). It's shows up nicely, but http://validator.w3.org/ gives me:

Line 289, column 9: non SGML character number 150
<h3>?? Heading</h3>

If I try to substitute his - with one off this:

  &endash;  &151;  &#8211;

ez will not format them and they are written literally.

Any suggestions.

Lars Tore Gustavsen

Monday 01 November 2004 1:09:26 am

I have found no solutions yet, so I will appreciate a hint.

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 15:58:16
Script start
Timing: Jan 18 2025 15:58:16
Module start 'layout'
Timing: Jan 18 2025 15:58:16
Module start 'content'
Timing: Jan 18 2025 15:58:17
Module end 'content'
Timing: Jan 18 2025 15:58:17
Script end

Main resources:

Total runtime0.9288 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.0469152.6406
Module start 'layout' 0.00510.0044 740.687539.4766
Module start 'content' 0.00950.9179 780.1641424.7031
Module end 'content' 0.92740.0013 1,204.86728.1250
Script end 0.9288  1,212.9922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3694160.0002
Check MTime0.00130.1437160.0001
Mysql Total
Database connection0.00060.069210.0006
Mysqli_queries0.888095.6074520.0171
Looping result0.00050.0577500.0000
Template Total0.895796.420.4478
Template load0.00210.226920.0011
Template processing0.893596.204420.4468
Template load and register function0.00020.021210.0002
states
state_id_array0.00190.205610.0019
state_identifier_array0.00100.103820.0005
Override
Cache load0.00170.1824140.0001
Sytem overhead
Fetch class attribute can translate value0.00080.089810.0008
Fetch class attribute name0.00130.136520.0006
XML
Image XML parsing0.00010.009210.0001
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00170.1805100.0002
String conversion0.00000.003640.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/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
1content/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: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs