Sha256: 72012411905886c9e5ea5d76170f305b8f1375272691a5e255ea58e0c1d92555

Contents?: true

Size: 155 Bytes

Versions: 58

Compression:

Stored size: 155 Bytes

Contents

format :text do
  view :core do
    HTMLEntities.new.decode strip_tags(super()).to_s
    # need this string method to get out of html_safe mode
  end
end

Version data entries

58 entries across 58 versions & 2 rubygems

Version Path
card-1.93.7 mod/basic_formats/set/all/text.rb
card-1.93.6 mod/basic_formats/set/all/text.rb
card-1.93.5 mod/basic_formats/set/all/text.rb
card-1.93.4 mod/basic_formats/set/all/text.rb
card-1.93.3 mod/basic_formats/set/all/text.rb
card-1.93.2 mod/basic_formats/set/all/text.rb
card-1.93.1 mod/basic_formats/set/all/text.rb
card-1.93.0 mod/basic_formats/set/all/text.rb
card-1.92.2 mod/basic_formats/set/all/text.rb
card-1.92.1 mod/basic_formats/set/all/text.rb
card-1.92 mod/basic_formats/set/all/text.rb
card-1.91 mod/basic_formats/set/all/text.rb
card-1.21.0 mod/basic_formats/set/all/text.rb
card-1.20.4 mod/basic_formats/set/all/text.rb
card-1.20.3 mod/basic_formats/set/all/text.rb
card-1.20.2 mod/basic_formats/set/all/text.rb
card-1.20.1 mod/basic_formats/set/all/text.rb
card-1.20.0 mod/basic_formats/set/all/text.rb