Forum: Ruby on Rails RedCloth and Rails

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.
A8e90e6f310e36963dfd432a66e2e558?d=identicon&s=25 Berlin Brown (Guest)
on 2006-03-28 00:18
(Received via mailing list)
Has anyone had any experience with RedCloth for rails.  It is a textile
system.  I haven't spot checked the code and was wondering if it caused
any lockups or other issues.

http://whytheluckystiff.net/ruby/redcloth/

--
Berlin Brown
(ramaza3 on freenode)
http://www.newspiritcompany.com
also checkout alpha version of botverse:
http://www.newspiritcompany.com:8086/universe_home
429500a5a54600958c9c7ac032a37f66?d=identicon&s=25 Joe (Guest)
on 2006-03-28 00:25
No problems for me.

Joe
6ec6f77ea603dd75b3a7a7775b059e79?d=identicon&s=25 John W. Long (Guest)
on 2006-03-28 01:11
(Received via mailing list)
Berlin Brown wrote:
> Has anyone had any experience with RedCloth for rails.  It is a textile
> system.  I haven't spot checked the code and was wondering if it caused
> any lockups or other issues.
>
> http://whytheluckystiff.net/ruby/redcloth/
>

RedCloth is excellent. I doubt you will have any difficulties with it.
It is very mature as far as Ruby libraries go.

--
John Long
http://wiseheartdesign.com
429500a5a54600958c9c7ac032a37f66?d=identicon&s=25 Joe (Guest)
on 2006-03-28 02:39
I take it back - I do have some problems with RedCloth. I've been
importing a lot of test and hyphens and asterisks trip up the text. For
example:

ROR-Ruby on Rails-1.1 is near

blah blah blah
* * * * *
blah blah blah

The first results in a strike-through; the second often in an open bold
tag. But, the text I've been importing is kind of wacky, and these are
pretty trivial which can be cleaned up manually.

Joe
6ec6f77ea603dd75b3a7a7775b059e79?d=identicon&s=25 John W. Long (Guest)
on 2006-03-28 04:01
(Received via mailing list)
Joe wrote:
> The first results in a strike-through; the second often in an open bold
> tag. But, the text I've been importing is kind of wacky, and these are
> pretty trivial which can be cleaned up manually.

_why is a really nice guy. I'm sure he wouldn't mind a few failing test
cases that reproduce the problem you are experiencing. :-)

--
John Long
http://wiseheartdesign.com
F719c6cb34bd5b691c12b373b7244b4d?d=identicon&s=25 Dorian Mcfarland (tachekent)
on 2006-03-28 04:09
(Received via mailing list)
There is one issue with Redcloth to be aware of before you start (from
the wiki):

"If you you are using Rails v1.0, make sure you are using RedCloth 3.0.3
instead of 3.0.4. You can then use textilize() correctly. See below for
what happens if you don?t do this

You can do this by running

gem install redcloth --version "3.0.3"
gem uninstall redcloth --version "3.0.4"

"
basically hard_breaks don't quite work properly if you don't follow this
advice.

otherwise, splendid!

dorian
This topic is locked and can not be replied to.