Module: Virgo::ShortcodeHelper

Defined in:
app/helpers/virgo/shortcode_helper.rb

Instance Method Summary collapse

Instance Method Details

#render_shortcodes(text) ⇒ Object


3
4
5
# File 'app/helpers/virgo/shortcode_helper.rb', line 3

def render_shortcodes(text)
  Shortcode.process(text).try(:html_safe)
end