Patch: Recognise line feeds in XML text fields

Author Message

Bruce Morrison

Monday 10 February 2003 11:25:53 pm

I've created and submitted a patch to recognise linefeeds in XML text fields and render these as <br /> in the final output.

It is availiable at
http://developer.ez.no/bug/bugview/1870/

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

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 11:40:14
Script start
Timing: Jan 18 2025 11:40:14
Module start 'layout'
Timing: Jan 18 2025 11:40:14
Module start 'content'
Timing: Jan 18 2025 11:40:14
Module end 'content'
Timing: Jan 18 2025 11:40:14
Script end

Main resources:

Total runtime0.0150 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 589.2813152.6563
Module start 'layout' 0.00570.0027 741.937539.5078
Module start 'content' 0.00830.0045 781.445385.3984
Module end 'content' 0.01290.0021 866.843830.3047
Script end 0.0149  897.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002617.1245140.0002
Check MTime0.00127.9818140.0001
Mysql Total
Database connection0.00085.244210.0008
Mysqli_queries0.002516.490730.0008
Looping result0.00000.087610.0000
Template Total0.001811.910.0018
Template load0.00106.827210.0010
Template processing0.00085.010110.0008
Override
Cache load0.00063.680310.0006
General
dbfile0.00031.772580.0000
String conversion0.00000.055740.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