redcloth

how to format an html string to redcloth format, the opposite function to to_html ?

#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...

clothred http://clothred.rubyforge.org/2007-04-10-faq.html

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:

thank you people, i think redcloth is the good solution for me.