def textilize_without_paragraph(text, *options)
      textiled = textilize(text, *options)
      if textiled[0..2] == "<p>" 
        textiled = textiled[3..-1] 
      end
      if textiled[-4..-1] == "</p>"
        textiled = textiled[0..-5] 
      end
      textiled.html_safe
    end
def textilize_without_paragraph(text, *options)
      textiled = textilize(text, *options)
      if textiled[0..2] == "<p>" 
        textiled = textiled[3..-1] 
      end
      if textiled[-4..-1] == "</p>"
        textiled = textiled[0..-5] 
      end
      textiled.html_safe
    end
Returns the text with all the Textile codes turned into HTML tags,
 but without the bounding <p> tag that RedCloth adds.

 You can learn more about Textile's syntax at its website[http://www.textism.com/tools/textile].
 <i>This method is requires RedCloth[http://whytheluckystiff.net/ruby/redcloth/]
 to be available</i>.

 ==== Examples
   textilize_without_paragraph("*This is Textile!*  Rejoice!")
   # => "<strong>This is Textile!</strong>  Rejoice!"

   textilize_without_paragraph("I _love_ ROR(Ruby on Rails)!")
   # => "I <em>love</em> <acronym title="Ruby on Rails">ROR</acronym>!"

   textilize_without_paragraph("h2. Textile makes markup -easy- simple!")
   # => "<h2>Textile makes markup <del>easy</del> simple!</h2>"

   textilize_without_paragraph("Visit the Rails website "here":http://www.rubyonrails.org/.)
   # => "Visit the Rails website <a href="http://www.rubyonrails.org/">here</a>."