def textilize_without_paragraph(text, *flags)
      textiled = textilize(text, *flags)

      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, *flags)
      textiled = textilize(text, *flags)

      if textiled[0..2] == "<p>"
        textiled = textiled[3..-1]
      end

      if textiled[-4..-1] == "</p>"
        textiled = textiled[0..-5]
      end

      textiled.html_safe
    end
Delegates to +textilize+ but strips the surrounding <tt><p></tt>
 tags.