Module: Redcarpet::Socialable::Hashtags
- Included in:
- Redcarpet::Socialable
- Defined in:
- lib/redcarpet/socialable/hashtags.rb
Instance Method Summary collapse
Instance Method Details
#postprocess(document) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/redcarpet/socialable/hashtags.rb', line 5 def postprocess(document) # Disable postprocess-ing for legacy renderer unless respond_to?(:safe_replace) document = (document) end if defined?(super) super(document) else document end end |