Forums / General / Space after <link>

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!