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-mod-format-0.11.4 set/all/text.rb
card-mod-format-0.11.3 set/all/text.rb
card-mod-format-0.11.2 set/all/text.rb
card-mod-format-0.11.1 set/all/text.rb
card-mod-format-0.11.0 set/all/text.rb
card-1.100.0 mod/basic_formats/set/all/text.rb
card-1.99.6 mod/basic_formats/set/all/text.rb
card-1.99.5 mod/basic_formats/set/all/text.rb
card-1.99.4 mod/basic_formats/set/all/text.rb
card-1.99.3 mod/basic_formats/set/all/text.rb
card-1.99.2 mod/basic_formats/set/all/text.rb
card-1.99.1 mod/basic_formats/set/all/text.rb
card-1.99.0 mod/basic_formats/set/all/text.rb
card-1.98.3 mod/basic_formats/set/all/text.rb
card-1.98.2 mod/basic_formats/set/all/text.rb
card-1.98.1 mod/basic_formats/set/all/text.rb
card-1.98.0 mod/basic_formats/set/all/text.rb
card-1.97.0.1 mod/basic_formats/set/all/text.rb
card-1.97.0 mod/basic_formats/set/all/text.rb
card-1.96.8 mod/basic_formats/set/all/text.rb