HISTORY in sanitize-1.2.1 vs HISTORY in sanitize-1.2.2.dev.20100822

- old
+ new

@@ -1,7 +1,19 @@ Sanitize History ================================================================================ +Version 1.2.? (git) + * 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 + :whitelist_nodes Array, so transformers now have insight into what nodes + have been whitelisted by other transformers. [Suggested by Nicholas Evans] + * Added a workaround for a bug in Nokogiri 1.4.2 and higher (issue #315) that + causes "</body></html>" to be appended to the CDATA inside unterminated + script and style elements. + Version 1.2.1 (2010-04-20) * Added a :remove_contents config setting. If set to true, Sanitize will remove the contents of all non-whitelisted elements in addition to the elements themselves. If set to an Array of element names, Sanitize will remove the contents of only those elements (when filtered), and leave the