line breaks in text field

Author Message

andre müller

Friday 17 October 2003 12:05:20 am

hi. if i create a line break by pressing the enter button in a text field in admin, the line break is entered and when i edit the article, it's still there. when i look at the article in user view, the line break will not be shown. has that anything to do with {xhtml|wash} tag?
do i really need to use xmltext fields only to be able to insert a line break?
thanks for a hint.

Paul Borgermans

Friday 17 October 2003 10:33:50 am

Take a look at the break operator:

http://ez.no/developer/ez_publish_3/documentation/development/libraries/ez_template/operators/string_handling

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

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 01:14:57
Script start
Timing: Jan 31 2025 01:14:57
Module start 'layout'
Timing: Jan 31 2025 01:14:57
Module start 'content'
Timing: Jan 31 2025 01:14:57
Module end 'content'
Timing: Jan 31 2025 01:14:57
Script end

Main resources:

Total runtime0.0230 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.0048 588.1250151.2109
Module start 'layout' 0.00480.0033 739.3359220.6875
Module start 'content' 0.00810.0133 960.0234997.7578
Module end 'content' 0.02140.0016 1,957.781329.9922
Script end 0.0230  1,987.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002611.1684140.0002
Check MTime0.00114.5849140.0001
Mysql Total
Database connection0.00083.586610.0008
Mysqli_queries0.00219.225830.0007
Looping result0.00000.047710.0000
Template Total0.00114.610.0011
Template load0.00083.613610.0008
Template processing0.00021.004510.0002
Override
Cache load0.00052.369710.0005
General
dbfile0.00072.921180.0001
String conversion0.00000.035240.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