Forum: Ruby [RedCloth] Adding a class to a link with Textile

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
059ed46172a087063ce26250e44c8627?d=identicon&s=25 Fernando Perez (fernando)
on 2009-01-24 23:17
I am trying to generate the following link using Textile:

<a class='first' href=...>

Using the following info found on a Textpattern forum:
http://forum.textpattern.com/viewtopic.php?id=19888

This should have worked:
"(first)This is a testlink":http://mysite.com

But it didn't. I am using RedCloth 4.1.1. Did the behavior change since?
How to do that?


Best regards,
059ed46172a087063ce26250e44c8627?d=identicon&s=25 Fernando Perez (fernando)
on 2009-01-24 23:42
Fernando Perez wrote:
> I am trying to generate the following link using Textile:
>
> <a class='first' href=...>
>
> Using the following info found on a Textpattern forum:
> http://forum.textpattern.com/viewtopic.php?id=19888
>
> This should have worked:
> "(first)This is a testlink":http://mysite.com
>
> But it didn't. I am using RedCloth 4.1.1. Did the behavior change since?
> How to do that?
>
>
> Best regards,

Actually it does work, I made a typo during my tests.
This topic is locked and can not be replied to.