HISTORY in sanitize-1.2.0 vs HISTORY in sanitize-1.2.1.dev.20100122
- old
+ new
@@ -1,7 +1,16 @@
Sanitize History
================================================================================
+Version 1.2.1 (git)
+ * Added a :remove_contents config setting. If set to true, Sanitize will
+ remove the contents of filtered nodes in addition to the nodes themselves.
+ * The environment hash passed into transformers now includes a :node_name item
+ containing the lowercase name of the current HTML node (e.g. "div").
+ * Returning anything other than a Hash or nil from a transformer will now
+ raise a meaningful Sanitize::Error exception rather than an unintended
+ NameError.
+
Version 1.2.0 (2010-01-17)
* Requires Nokogiri ~> 1.4.1.
* Added support for transformers, which allow you to filter and alter nodes
using your own custom logic, on top of (or instead of) Sanitize's core
filter. See the README for details and examples.