Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[textile] Error rendering links with parentheses in the URL
code: "this is a link":http://wikimediafoundation.org/wiki/Update_of_Foundation_organization_(March_07) blah blah
this is a link blah blah
now, is it a bug or a feature? :) the closing parenthesis is a legitimate part of the URL.
is there some escaping trick I can do to use the URL?
thanks,
Brianna
Last edited by pfctdayelise (2007-09-02 14:08:12)
Offline
Re: [textile] Error rendering links with parentheses in the URL
It’s a feature.
You can use a normal <a href="..." />this is a link</a>
in this situation
Offline
Re: [textile] Error rendering links with parentheses in the URL
This is a rather Wikipedia-specific way of making up web adresses.
Although the standard for characters which are allowed in URLs (RFC 1738) allows unencoded partheses in URLs, Wikipedia themselves encodes the URL once you click the “article” menu on their site (%28
und %29
being the encoded parantheses characters) and gives you this address:
http://wikimediafoundation.org/wiki/Update_of_Foundation_organization_%28March_07%29
So you could either hand-code the <a..>
tag as Ruud suggested or URL-encode such “dangerous” characters to use Textile-style links. There’s a bunch of online URL encoders if your personal encoding capabilites happen to be a bit rusty.
Offline
#4 2007-09-05 14:22:14
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [textile] Error rendering links with parentheses in the URL
Hit the quote link for this post to see how I did it, I can’t get Textile to show (and not parse) it properly.
Offline