Module: Refinery::HtmlTruncationHelper

Defined in:
core/app/helpers/refinery/html_truncation_helper.rb

Instance Method Summary collapse

Instance Method Details

#truncate(text, options = {}) ⇒ Object

Like the Rails truncate helper but doesn't break HTML tags, entities, and words.