Tags:
create new tag
, view all tags

Question

found in 4.1, if a html tag is next to a html link it breaks autolinking for crossweb links.

<br />TWiki.WebHome

renders:
TWiki.WebHome

should render

TWiki

edit

Seems to break with all wikiwords <br />WebHome

renders:
WebHome

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, SpacedWikiWordPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- ChadMinick - 22 May 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

That's how it works, I'm afraid, Chad. Wikiwords are recognised only if preceded by one of a specific set of characters, and > isn't one of them.

I think it's unlikely that the spec will change to accomodate this, I fear.

-- CrawfordCurrie - 02 Jun 2008

We can't change the spec for two reasons:

1. Compatibility with existing content

2. Incorrect rendering because a WikiWord in HTML would get linked again. Example:

<a href="http://google.com/">HelloGoogle</a>
If we would remove the leading whitespace rule we'd get:
<a href="http://google.com/"><a href="/cgi-bin/Sandbox/HelloGoogle">HelloGoogle</a></a>
Which is clearly not valid HTML.

-- PeterThoeny - 03 Jun 2008

 
Change status to:
Topic revision: r4 - 2008-06-03 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.