Mike Chai wrote: > Everytime I do to_html with RedCloth it wraps the entire thing in <p> > which is really annoying. I've looked all over for an answer on how to > disable this but I've found nothing. I'm surprised that I'm the only > one that doesn't want my stuff wrapped in <p> tags. Does anyone know > how to disable this?
Have you tried 'textilize_without_paragraph(text)'? taken from: http://api.rubyonrails.com/classes/ActionView/Helpers/TextHelper.html#M001717 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

