Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 13 lines (9 sloc) 0.647 kb

Deprecations

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

  • strip_tags(string_or_io) is now scrub_document(string_or_io, :prune).text

  • whitewash(string_or_io) is now scrub_fragment(string_or_io, :whitewash).to_s

  • whitewash_document(string_or_io) is now scrub_document(string_or_io, :whitewash).to_s

  • sanitize(string_or_io) is now scrub_fragment(string_or_io, :escape).to_xml

  • sanitize_document(string_or_io) is now scrub_document(string_or_io, :escape).to_xml

Have a nice day.

Something went wrong with that request. Please try again.