Sha256: 16b622ec7192b3f5e02b9a97db6d464adf796e4751f2a60647bec61989bb72cb

Contents?: true

Size: 1.95 KB

Versions: 1

Compression:

Stored size: 1.95 KB

Contents

= Changelog

== 0.4.1

Bugfix:

  * Manifest fixed. Whoops.

== 0.4.0

Enhancements:

  * Scrubber class introduced, allowing development of custom scrubbers.
  * Added support for XML documents and fragments.
  * Added :nofollow HTML scrubber (thanks Luke Melia!)
  * Built-in scrubbing methods refactored to use Scrubber.

== 0.3.1 (2009-10-12)

Bug fixes:

* Scrubbed Documents properly render html, head and body tags when serialized.

== 0.3.0 (2009-10-06)

Enhancements:

* New ActiveRecord extension `xss_foliate`, a drop-in replacement for xss_terminate[http://github.com/look/xss_terminate/tree/master].
* Replacement methods for Rails's helpers, Loofah::Rails.sanitize and Loofah::Rails.strip_tags.
* Official support (and test coverage) for Rails versions 2.3, 2.2, 2.1, 2.0 and 1.2.

Deprecations:

* The methods strip_tags, whitewash, whitewash_document, sanitize, and
  sanitize_document have been deprecated. See DEPRECATED.rdoc for
  details on the equivalent calls with the post-0.2 API.

== 0.2.2 (2009-09-30)

Enhancements:

* ActiveRecord extension scrubs fields in a before_validation callback
  (was previously in a before_save)

== 0.2.1 (2009-09-19)

Enhancements:

* when loaded in a Rails app, automatically extend ActiveRecord::Base
  with html_fragment and html_document. GH #6 (Thanks Josh Nichols!)

Bugfixes:

* ActiveRecord scrubbing should generate strings instead of Document or
  DocumentFragment objects. GH #5
* init.rb fixed to support installation as a Rails plugin. GH #6
  (Thanks Josh Nichols!)

== 0.2.0 (2009-09-11)

* Swank new API.
* ActiveRecord extension.
* Uses Nokogiri's Document and DocumentFragment for parsing.
* Updated html5lib codes and tests to revision 1384:b9d3153d7be7.
* Deprecated the Dryopteris sanitization methods. Will be removed in 0.3.0.
* Documentation! Hey!

== 0.1.2 (2009-04-30)

* Added whitewashing -- removal of all attributes and namespaced nodes. You know, for microsofty HTML.

== 0.1.0 (2009-02-10)

* Birthday!

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
loofah-0.4.1 CHANGELOG.rdoc