Forum: Ruby on Rails Redcloth - ok, i give up. Please help!

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
60071e44382435f0f42bf6c3f6e29889?d=identicon&s=25 Scott Holland (ginsberg1982)
on 2007-01-21 22:50
Just as I get one part of redcloth working, something else seems to stop

Here is my code so far..

  def text_output(text)
   textilized =, [:filter_html, :filter_styles ])
:glyphs_textile, :inline_textile_link))

This is what I want to do to my 'text'..

* Allow *bold*
* Allow _italic_
* Allow "links"
* Stop all CSS & Table code in redcloth
* Escape all other HTML
* Format paragraphs like so

<p>blah blah blah blah<br/>
blah blah blah</p

Does anything in my code look really wrong? Any ideas how I'd get the
results I want?

I'd really really appreciate some help with this!


This topic is locked and can not be replied to.