Sha256: 90d8348f046125f2e4ea4f5b33f408d915fa2a7ce5faeadd30e7dc616605e0ca

Contents?: true

Size: 284 Bytes

Versions: 1

Compression:

Stored size: 284 Bytes

Contents

module MadChatter
  class MarkdownRenderer < Redcarpet::Render::HTML
    def link(link, title, alt_text)
      "<a target=\"_blank\" href=\"#{link}\">#{alt_text}</a>"
    end
    def autolink(link, link_type)
      "<a target=\"_blank\" href=\"#{link}\">#{link}</a>"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mad_chatter-0.2.9 lib/mad_chatter/markdown_renderer.rb