Sha256: 6b36ed6beb008685b08be62b3f5a849298bd59d0bd45825c5f2a208b3976cbe6

Contents?: true

Size: 647 Bytes

Versions: 10

Compression:

Stored size: 647 Bytes

Contents

= Deprecations

In Loofah 0.3.0, some methods have been deprecated. The following
lists the equivalent calls with the post-0.2 API:

* <tt>strip_tags(string_or_io)</tt> is now <tt>scrub_document(string_or_io, :prune).text</tt>
* <tt>whitewash(string_or_io)</tt> is now <tt>scrub_fragment(string_or_io, :whitewash).to_s</tt>
* <tt>whitewash_document(string_or_io)</tt> is now <tt>scrub_document(string_or_io, :whitewash).to_s</tt>
* <tt>sanitize(string_or_io)</tt> is now <tt>scrub_fragment(string_or_io, :escape).to_xml</tt>
* <tt>sanitize_document(string_or_io)</tt> is now <tt>scrub_document(string_or_io, :escape).to_xml</tt>

Have a nice day.

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
loofah-0.4.7 DEPRECATED.rdoc
loofah-0.4.6 DEPRECATED.rdoc
loofah-0.4.5 DEPRECATED.rdoc
loofah-0.4.4 DEPRECATED.rdoc
loofah-0.4.3 DEPRECATED.rdoc
loofah-0.4.2 DEPRECATED.rdoc
loofah-0.4.1 DEPRECATED.rdoc
loofah-0.4.0 DEPRECATED.rdoc
loofah-0.3.1 DEPRECATED.rdoc
loofah-0.3.0 DEPRECATED.rdoc