BR tag in comments and Forum messages: Problems

Author Message

Zinistry Vacana

Monday 05 May 2003 6:16:17 am

Hi!
I've tried to figure out how I can implement "the wash command in the tpl.
Tried:
{node.object.data_map.message.content|wash(xhtml)|nl2br}
So that new line will be replaced by a br tag.

Have also checked eztemplateautoload.php and eztemplatenl2broperator.php and everything seems ok. But why does the text still press itself together without showing <br> and new line? It's a complete mess...do I have to change something else?

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 04:22:57
Script start
Timing: Jan 18 2025 04:22:57
Module start 'layout'
Timing: Jan 18 2025 04:22:57
Module start 'content'
Timing: Jan 18 2025 04:22:58
Module end 'content'
Timing: Jan 18 2025 04:22:58
Script end

Main resources:

Total runtime1.3268 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.0079 589.1797152.6406
Module start 'layout' 0.00790.0039 741.820339.4922
Module start 'content' 0.01181.3132 781.3125399.9766
Module end 'content' 1.32500.0017 1,181.28918.1250
Script end 1.3267  1,189.4141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.3197160.0003
Check MTime0.00220.1634160.0001
Mysql Total
Database connection0.00120.088010.0012
Mysqli_queries1.287797.0582460.0280
Looping result0.00040.0300440.0000
Template Total1.291797.420.6458
Template load0.00200.154220.0010
Template processing1.289697.201020.6448
Template load and register function0.00030.021210.0003
states
state_id_array0.00100.075310.0010
state_identifier_array0.00080.063720.0004
Override
Cache load0.00160.122090.0002
Sytem overhead
Fetch class attribute can translate value0.00080.060510.0008
Fetch class attribute name0.00070.051910.0007
XML
Image XML parsing0.00010.009510.0001
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00050.0399100.0001
String conversion0.00000.000940.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs