Forum: Ruby on Rails redcloth

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.
4b87f676cb6c4d648d71000681823693?d=identicon&s=25 Jean-sébastien Jney (jney)
on 2007-04-27 04:47
(Received via mailing list)
how to format an html string to redcloth format, the opposite function
to to_html ?
8bc543795b502900b5333aea73ad5533?d=identicon&s=25 Eden Li (edenli)
on 2007-04-27 06:06
(Received via mailing list)
#to_html is a one-way function.  Not everything that can be expressed
in HTML has a representation in redcloth.  I guess you could hack
something up that throws out non-mappable forms, but...

On Apr 27, 10:45 am, Jean-Sébastien <jeansebastien....@gmail.com>
6c382202075fdcd2522d34633d7ecd9b?d=identicon&s=25 Dorren (Guest)
on 2007-04-27 07:03
(Received via mailing list)
clothred
http://clothred.rubyforge.org/2007-04-10-faq.html


On Apr 26, 10:45 pm, Jean-Sébastien <jeansebastien....@gmail.com>
866edcb271e88be4bfd935eea7947730?d=identicon&s=25 Bojan Mihelac (Guest)
on 2007-04-27 16:07
(Received via mailing list)
There is also html2textile written in python.

I cannot compare it with clothred because I didn't use clothred (yet).

best regards,
Bojan


Dorren wrote:
> clothred
> http://clothred.rubyforge.org/2007-04-10-faq.html
>
>
> On Apr 26, 10:45 pm, Jean-Sébastien <jeansebastien....@gmail.com>
> wrote:
>> how to format an html string to redcloth format, the opposite function
>> to to_html ?


--
Bojan Mihelac
-> Ruby on Rails and Web Developer Blog : http://source.mihelac.org
4b87f676cb6c4d648d71000681823693?d=identicon&s=25 Jean-sébastien Jney (jney)
on 2007-04-27 16:24
(Received via mailing list)
thank you people, i think redcloth is the good solution for me.
This topic is locked and can not be replied to.