Sha256: 0f246f1afb29d939a30f37918afb266ecda8c8635d3a31844b87469e09fac7c4

Contents?: true

Size: 348 Bytes

Versions: 4

Compression:

Stored size: 348 Bytes

Contents

module OpenConferenceWare
  module DisplayTextileForHelper
    def display_textile_for(text)
      return auto_link(textilize(sanitize(text || "")).html_safe, :all, rel: 'nofollow').html_safe
    end

    def display_textile_help_link
      return link_to('Formatting', 'http://redcloth.org/hobix.com/textile/', target: "_blank")
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
open_conference_ware-1.0.0.pre4 app/helpers/open_conference_ware/display_textile_for_helper.rb
open_conference_ware-1.0.0.pre3 app/helpers/open_conference_ware/display_textile_for_helper.rb
open_conference_ware-1.0.0.pre2 app/helpers/open_conference_ware/display_textile_for_helper.rb
open_conference_ware-1.0.0.pre1 app/helpers/open_conference_ware/display_textile_for_helper.rb