Class: Diaspora::Markdownify::Email

Inherits:
Redcarpet::Render::HTML
  • Object
show all
Defined in:
lib/diaspora/markdownify/email.rb

Constant Summary collapse

TAG_REGEX =
/(?:^|\s)#([#{ActsAsTaggableOn::Tag.tag_text_regexp}]+)/u

Instance Method Summary collapse

Instance Method Details

#preprocess(text) ⇒ Object


6
7
8
# File 'lib/diaspora/markdownify/email.rb', line 6

def preprocess(text)
  process_tags(text)
end