Results 1 to 3 of 3
Thread: Two RedCloth questions
Jun 6, 2006, 15:06 #1
Two RedCloth questions
First, thanks for everybody's help so far. I appreciate you all helping smooth my transition to Ruby & Rails.
I've installed RedCloth and it's basically working... two things...
This works fine:
r = RedCloth.new @message.body
r = RedCloth.new @message.body, :filter_html
undefined method `each' for :filter_html:Symbol
When the submitted text contains a straight quote, e.g. " it's returning the appropriate entities. But when it contains curly quotes already, e.g. the user is pasting from Word into the form, RedCloth doesn't know to turn them into the appropriate entities.
Has anyone addressed that, or do I need to code it myself?