Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-09-24 13:35:37

Mr. Smith
Member
From: Denmark
Registered: 2006-11-10
Posts: 56

[textile] Parenthesis in "linktext":url

Hey guys,

I need to put some text in the linktext in a paranthesis, but textile will display the text in paranthesis as a title attribute to the link.

linktext (some text in parenthesis that needs to be part of the link text, and not be displayed as a title attribute

I’m sure this can be done, but how?


Textpattern n00b

Offline

#2 2007-09-24 15:55:56

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: [textile] Parenthesis in "linktext":url

As a simple character:

amp;#40; => (
amp;#41; => )
amp;#34; => "

IE: "Dog amp;#40;a nice friend of a manamp;#41;":http://www.your-domain-url.com

An other, very simple way is to use spaces before and after "("-marks:

"Dog ( a nice friend of a man ) ":http://www.your-domain-url.com

Cheers!

Last edited by Gocom (2007-09-24 16:08:18)

Offline

#3 2007-09-25 07:53:49

Mr. Smith
Member
From: Denmark
Registered: 2006-11-10
Posts: 56

Re: [textile] Parenthesis in "linktext":url

That trick about using spaces is very handy! Thanks…


Textpattern n00b

Offline

Board footer

Powered by FluxBB