Quotes and apostrophe's stuff up the title/name technique - a bug or intended?

Author Message

Richard Wood

Saturday 04 January 2003 8:26:23 pm

It seems odd that the demo uses the title field as the article name yet can't handle quote marks.
Whether or not this is a bug, or intended, how do I retain this easy way of naming the item while still allowing quotes to be used for my article titles?
Is there a function that strips quote marks that could be entered in around <title> in when creating new articles to achieve this? In the meantime I will have to separate it out by creating a headline field.
Any other ideas anyone?
Richard.

Jan Borsodi

Tuesday 07 January 2003 10:56:31 am

> It seems odd that the demo uses the title field as the
> article name yet can't handle quote marks.
> Whether or not this is a bug, or intended, how do I retain
> this easy way of naming the item while still allowing quotes
> to be used for my article titles?
> Is there a function that strips quote marks that could be
> entered in around <title> in when creating new articles to
> achieve this? In the meantime I will have to separate it out
> by creating a headline field.
> Any other ideas anyone?

Output washing (removing quotes and <>&) has not been added to all templates yet, it will be fixed in the final release though.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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:15:21
Script start
Timing: Jan 18 2025 05:15:21
Module start 'layout'
Timing: Jan 18 2025 05:15:21
Module start 'content'
Timing: Jan 18 2025 05:15:22
Module end 'content'
Timing: Jan 18 2025 05:15:22
Script end

Main resources:

Total runtime0.6460 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 594.4844152.6875
Module start 'layout' 0.00660.0030 747.171939.6172
Module start 'content' 0.00970.6349 786.7891522.1484
Module end 'content' 0.64450.0014 1,308.93758.1875
Script end 0.6460  1,317.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.6042160.0002
Check MTime0.00170.2667160.0001
Mysql Total
Database connection0.00080.117510.0008
Mysqli_queries0.590091.3373540.0109
Looping result0.00050.0768520.0000
Template Total0.614395.120.3071
Template load0.00250.390420.0013
Template processing0.611794.692320.3059
Template load and register function0.00010.022010.0001
states
state_id_array0.00070.113810.0007
state_identifier_array0.00130.196720.0006
Override
Cache load0.00210.3293210.0001
Sytem overhead
Fetch class attribute can translate value0.00210.319720.0010
Fetch class attribute name0.00140.220730.0005
XML
Image XML parsing0.00050.083020.0003
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00070.1106170.0000
String conversion0.00000.001440.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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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/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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs