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.96.7 mod/basic_formats/set/all/text.rb
card-1.96.6 mod/basic_formats/set/all/text.rb
card-1.96.5 mod/basic_formats/set/all/text.rb
card-1.96.4 mod/basic_formats/set/all/text.rb
card-1.96.3 mod/basic_formats/set/all/text.rb
card-1.96.2 mod/basic_formats/set/all/text.rb
card-1.96.1 mod/basic_formats/set/all/text.rb
card-1.96.0 mod/basic_formats/set/all/text.rb
card-1.95.3 mod/basic_formats/set/all/text.rb
card-1.95.2 mod/basic_formats/set/all/text.rb
card-1.95.1 mod/basic_formats/set/all/text.rb
card-1.95.0 mod/basic_formats/set/all/text.rb
card-1.94.1 mod/basic_formats/set/all/text.rb
card-1.94.0 mod/basic_formats/set/all/text.rb
card-1.93.13 mod/basic_formats/set/all/text.rb
card-1.93.12 mod/basic_formats/set/all/text.rb
card-1.93.11 mod/basic_formats/set/all/text.rb
card-1.93.10 mod/basic_formats/set/all/text.rb
card-1.93.9 mod/basic_formats/set/all/text.rb
card-1.93.8 mod/basic_formats/set/all/text.rb