You are here: Foswiki>Tasks Web>Item54 (04 Jan 2009, KennethLavrsen)Edit Attach

Item54: Color tags stop proper rendering of link

pencil
Priority: Low
Current State: No Action Required
Released In:
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: TWiki:Main.KoenMartens
Waiting For:
Last Change By: KennethLavrsen
Enclosing a Web.TopicName link in color code stops it from being rendered as a link.

For example:

   * Community.CopyrightStatement

becomes:

and:

   * %GREEN%Community.CopyrightStatement%ENDCOLOR%

becomes:

  • Community.CopyrightStatement

-- KoenMartens

I do not see this as an error. It actually works as it should.

A well know and often used way to avoid WikiWord linking is to put something like an html nop in front of the wiki word. And this is what happens with the GREEN and ENDCOLOR tags. They are replaced by html font tags that as they should prevents the wiki word rendering.

If you want the link green and displayed correctly you need a white space between the tags and the wiki word.

   * %GREEN% Community.CopyrightStatement%ENDCOLOR%

becomes

But as you also can see the CSS for links wins over the font tags so the effect is not visible anyway wink That is how css works I guess. To get colour changes of links you would need a quite different solution also using css.

So I say No Action on this one

-- KennethLavrsen - 04 Jan 2009

ItemTemplate edit

Summary Color tags stop proper rendering of link
ReportedBy TWiki:Main.KoenMartens
Codebase trunk
SVN Range TWiki-4.2.3, Wed, 06 Aug 2008, build 17396
AppliesTo Engine
Component
Priority Low
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r2 - 04 Jan 2009, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy