Class: Bluecloth2Filter
- Inherits:
-
TextFilter
- Object
- TextFilter
- Bluecloth2Filter
- Defined in:
- lib/bluecloth2_filter.rb
Instance Method Summary collapse
Instance Method Details
#filter(text) ⇒ Object
6 7 8 |
# File 'lib/bluecloth2_filter.rb', line 6 def filter(text) BlueCloth.new(text, :smartypants => true).to_html end |