Announcement: Be excellent to each other.


Caravel Forum : Caravel Boards : The Site : URL Tag Mayhem!
New Topic New Poll Post Reply
Poster Message
trick
Level: Legendary Smitemaster
Rank Points: 2580
Registered: 04-12-2003
IP: Logged
icon URL Tag Mayhem! (+2)  
I just tried to use the url tag on a link containing an additional colons after the protocol part, which didn't work at all.

Plain text (autolink stops before second colon):
http://web.archive.org/web/20041020074845/http://nasm.sourceforge.net/

(Maybe this problem could be solved by allowing url tags of the form [url]foo[/url] ?)

[url=http://web.archive.org/web/20041020074845 http://nasm.sourceforge.net/]link[/url]:
[url=http://web.archive.org/web/20041020074845 http://nasm.sourceforge.net/]link

The first line above uses [lb] and [rb] tags, but I had to insert dummy tags around them. Without these, [lb] and [rb] seem to act identical to the real [ and ] characters with the url tag. Also note the slash disappears before the second http in both of the above lines, even though first one uses [lb] and [rb] tags with dummy tags between them -- adding a dummy tag (or space, etc) after url= as well fixes that).

Without dummy tags:

[url=http://web.archive.org/web/20041020074845 http://nasm.sourceforge.net/]link[/url]:
[url=http://web.archive.org/web/20041020074845 http://nasm.sourceforge.net/]link

[lb]url[rb]http://www.drod.net/[lb]/url[rb]:
[url[rb http://www.drod.net/[/url]

I tested some more with the [ and ] tags, and noticed that in general, if any character (including [lb] or [rb] tags after transformation) is immediately followed by an url, the character disappears (inserted dummy tag in first line to avoid this):

xhttp://www.drod.net/:
http://www.drod.net/

xxhttp://www.drod.net/:
x http://www.drod.net/

This might be at least part of the reason why the [lb] and [rb] tags doesn't work properly with the url tag, but it doesn't explain why they don't work with a lone /url tag, like this:

>[/url]<:
>[/url]<

- Gerry

[Last edited by trick at 11-03-2005 07:01 PM : added second disappearing x example]
11-03-2005 at 06:59 PM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
New Topic New Poll Post Reply
Caravel Forum : Caravel Boards : The Site : URL Tag Mayhem!
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.