Sha256: ddaabe37f704b7c9e7d92babec3d185f882d741dbcf1ac1cafb7949e66f32dee

Contents?: true

Size: 136 Bytes

Versions: 25

Compression:

Stored size: 136 Bytes

Contents

module TruncateHtmlHelper

  def truncate_html(html, options={})
    TruncateHtml::HtmlTruncator.new(html).truncate(options)
  end

end

Version data entries

25 entries across 25 versions & 6 rubygems

Version Path
solidus_backend-1.0.0.pre3 vendor/bundle/gems/truncate_html-0.9.2/spec/rails_root/lib/app/helpers/truncate_html_helper.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/truncate_html-0.9.2/spec/rails_root/lib/app/helpers/truncate_html_helper.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/truncate_html-0.9.2/spec/rails_root/lib/app/helpers/truncate_html_helper.rb
truncate_html-0.9.3 spec/rails_root/lib/app/helpers/truncate_html_helper.rb
hgimenez-truncate_html-0.1.0 lib/app/helpers/truncate_html_helper.rb
hgimenez-truncate_html-0.1.1 lib/app/helpers/truncate_html_helper.rb
truncate_html_chinese-0.1.0 spec/rails_root/lib/app/helpers/truncate_html_helper.rb
truncate_html-0.9.2 spec/rails_root/lib/app/helpers/truncate_html_helper.rb
truncate_html-0.9.1 spec/rails_root/lib/app/helpers/truncate_html_helper.rb
truncate_html-0.9 spec/rails_root/lib/app/helpers/truncate_html_helper.rb
truncate_html_sentence-0.5.6 spec/rails_root/lib/app/helpers/truncate_html_helper.rb
truncate_html-0.5.5 spec/rails_root/lib/app/helpers/truncate_html_helper.rb
truncate_html-0.5.4 spec/rails_root/lib/app/helpers/truncate_html_helper.rb
truncate_html-0.5.3 spec/rails_root/lib/app/helpers/truncate_html_helper.rb
truncate_html-0.5.2 spec/rails_root/lib/app/helpers/truncate_html_helper.rb
truncate_html-0.5.1 spec/rails_root/lib/app/helpers/truncate_html_helper.rb
truncate_html-0.5.0 spec/rails_root/lib/app/helpers/truncate_html_helper.rb
truncate_html-0.4.0 spec/rails_root/lib/app/helpers/truncate_html_helper.rb
truncate_html-0.3.2 spec/rails_root/lib/app/helpers/truncate_html_helper.rb
truncate_html-0.2.2 lib/app/helpers/truncate_html_helper.rb