Space after <link>

Author Message

Andrew Hill

Sunday 13 March 2005 9:56:01 am

Hi,

Whenever I put a <link> item into an article, the system puts a space after the enclosed text, so if there is a punctuation mark immediately after the link, it looks strange because of the space.

Is there any way to stop ezPublish from putting the space after links?

Thanks,

Andrew

Frederik Holljen

Tuesday 15 March 2005 12:24:59 am

I think the extra space was in the template: design/standard/templates/content/datatype/view/ezurl.tpl

AFAIK, the bug was fixed (I can't reproduce it anymore)

Frederik Holljen

Tuesday 15 March 2005 12:27:16 am

Sorry, this template of course:
design/standard/templates/content/datatype/view/ezxmltags/link.tpl

Andrew Hill

Tuesday 15 March 2005 1:25:39 am

Hi,

I've had a look in design/standard/templates/content/datatype/view/ezxmltags/link.tpl, and there is definitely no space after the </a> tag in the template. I can even put text after the </a> tag in the template, and it appears directly after the link (with no space). However, text in the article that is directly after a </link> element still has the space inserted before it.

Would an upgrade to 3.5.1 from 3.5.0 help?

TIA,

Andrew

Christiane Kloss

Tuesday 15 March 2005 3:39:12 am

Hi Andrew,

just a guess:
Have you checked your CSS?

Christiane

Andrew Hill

Tuesday 15 March 2005 4:49:11 am

Hi,

At this stage, the CSS is unaltered from the default, apart from colours.

Checking the CSS for the links, only the color and text-decoration (underline) are set.

Cheers,

Andrew

Andrew Hill

Tuesday 22 March 2005 3:08:02 am

Hi all,

I've upgraded from v3.5.0 to v3.5.1, and this has solved the problem.

Thanks!

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 06:00:45
Script start
Timing: Jan 31 2025 06:00:45
Module start 'layout'
Timing: Jan 31 2025 06:00:45
Module start 'content'
Timing: Jan 31 2025 06:00:45
Module end 'content'
Timing: Jan 31 2025 06:00:45
Script end

Main resources:

Total runtime0.0178 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 588.0078151.1953
Module start 'layout' 0.00570.0029 739.203136.6094
Module start 'content' 0.00860.0076 775.812594.0859
Module end 'content' 0.01620.0015 869.898437.9922
Script end 0.0177  907.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002513.9925140.0002
Check MTime0.00116.2881140.0001
Mysql Total
Database connection0.00084.556410.0008
Mysqli_queries0.002815.583330.0009
Looping result0.00000.163610.0000
Template Total0.00116.210.0011
Template load0.00084.698610.0008
Template processing0.00031.514310.0003
Override
Cache load0.00053.038110.0005
General
dbfile0.002514.059680.0003
String conversion0.00000.051040.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