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):
x
http://www.drod.net/:
http://www.drod.net/
xx
http://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]