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 someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is 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:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-06-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.