From 3f19199547a37966dbccea4bfdeb492a5fafb5a7 Mon Sep 17 00:00:00 2001 From: Ryan Grove Date: Sat, 31 May 2014 17:42:51 -0400 Subject: [PATCH] Skip 2.2.0. --- HISTORY.md | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index d619350..5913024 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -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 > 2 and 2 < 1"`. [#83][83] @@ -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) --------------------------