Module: Rbling
- Defined in:
- lib/rbling.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.parse(text) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/rbling.rb', line 3 def self.parse(text) strip_markup(text) direct_conversions(text) preprocess_img(text) convert_markup(text, 'q', 'blockquote') convert_markup(text, 'img', 'img', 'src') convert_markup(text, 'link', 'a', 'href') convert_to_class(text) auto_link_urls(text) add_vertical_whitespace(text) (text) text end |