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 B.
(ramaza3 on freenode)
http://www.newspiritcompany.com
also checkout alpha version of botverse:
http://www.newspiritcompany.com:8086/universe_home
Berlin B. 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 L.
http://wiseheartdesign.com
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
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
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 L.
http://wiseheartdesign.com