Has anybody gotten :hard_breaks to work with RedCloth?
self.body_html = RedCloth.new(self.body).to_html(:textile)
which works, except that it doesn’t transform hard breaks to
tags, which is really important for me.
However, if I do:
self.body_html = RedCloth.new(self.body, [ :hard_breaks
then it converts ALL breaks into
tags, including what should be
paragraph breaks, which get transformed into two consecutive
Anybody know a workaround for this?