Skip to content

Commit

Permalink
Skip 2.2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgrove committed May 31, 2014
1 parent de93fb0 commit 3f19199
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ Sanitize.fragment(html, Sanitize::Config.merge(Sanitize::Config::BASIC,
attributes: `article`, `aside`, `body`, `data`, `div`, `footer`, `head`,
`header`, `html`, `main`, `nav`, `section`, `span`, `style`, `title`.

* The `:whitespace_elements` config is now a Hash, and allows you to specify the
text that should be inserted before and after these elements when they're
removed. The old-style Array-based config value is still supported for
backwards compatibility. [@alperkokmen - #94][94]

* Fixed: Non-tag brackets in input like `"1 > 2 and 2 < 1"` are now parsed and
escaped correctly in accordance with the HTML5 spec, becoming
`"1 &gt; 2 and 2 &lt; 1"`. [#83][83]
Expand All @@ -87,21 +92,11 @@ Sanitize.fragment(html, Sanitize::Config.merge(Sanitize::Config::BASIC,
[crass]:https://github.com/rgrove/crass
[83]:https://github.com/rgrove/sanitize/issues/83
[91]:https://github.com/rgrove/sanitize/issues/91
[94]:https://github.com/rgrove/sanitize/pull/94/
[103]:https://github.com/rgrove/sanitize/issues/103
[n1008]:https://github.com/sparklemotion/nokogiri/issues/1008


Version 2.2.0 (git)
-------------------

* The `:whitespace_elements` config is now a Hash, and allows you to specify the
text that should be inserted before and after these elements when they're
removed. The old-style Array-based config value is still supported for
backwards compatibility. [@alperkokmen - #94][94]

[94]:https://github.com/rgrove/sanitize/pull/94/


Version 2.1.0 (2014-01-13)
--------------------------

Expand Down

0 comments on commit 3f19199

Please sign in to comment.