On Saturday, December 12, 2015 at 2:53:38 PM UTC-5, fugee ohu wrote: > > i thought simple format was a nice little helper, better than writing a > manual translate function to replace newlines with html <br>'s but the > output of simple_format is unaffected by my css for the page How can I > apply styling to simple_format ? >
Solved: simple_format(string, class='someclass') -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/bedf0128-b857-4167-8348-21bc5dace186%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

