HISTORY in sanitize-1.2.2.dev.20101118 vs HISTORY in sanitize-1.3.0.dev.20101210
- old
+ new
@@ -1,8 +1,21 @@
Sanitize History
================================================================================
-Version 1.2.2 (git)
+Version 1.3.0 (git)
+ * The default value for the :output config is now :html. Previously it was
+ :xhtml.
+ * Added a :whitespace_elements config, which specifies elements (such as <br>
+ and <p>) that should be replaced with whitespace when removed in order to
+ preserve readability. See the README for the default list of elements that
+ will be replaced with whitespace when removed.
+ * Added the `abbr`, `dfn`, `kbd`, `mark`, `s`, `samp`, `time`, and `var`
+ elements to the whitelists for `Sanitize::Config::BASIC` and
+ `Sanitize::Config::RELAXED`.
+ * Added the `bdo`, `del`, `figcaption`, `figure`, `hgroup`, `ins`, `rp`, `rt`,
+ `ruby`, and `wbr` elements to the whitelist for `Sanitize::Config::RELAXED`.
+ * The `dir`, `lang`, and `title` attributes are now whitelisted for all
+ elements in `Sanitize::Config::RELAXED`.
* The environment hash passed into transformers now includes an
:allowed_elements Hash to facilitate faster lookups when attempting to
determine whether an element is in the whitelist. [Suggested by Nicholas
Evans]
* The environment hash passed into transformers now includes a