Update Nokogiri

pull/99/head
Thibaut 11 years ago
parent dbb7d75352
commit ab1de67032

@ -1,7 +1,7 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
activesupport (4.1.0) activesupport (4.1.1)
i18n (~> 0.6, >= 0.6.9) i18n (~> 0.6, >= 0.6.9)
json (~> 1.7, >= 1.7.7) json (~> 1.7, >= 1.7.7)
minitest (~> 5.1) minitest (~> 5.1)
@ -32,11 +32,11 @@ GEM
i18n (0.6.9) i18n (0.6.9)
json (1.8.1) json (1.8.1)
method_source (0.8.2) method_source (0.8.2)
mini_portile (0.5.3) mini_portile (0.6.0)
minitest (5.3.3) minitest (5.3.4)
multi_json (1.9.3) multi_json (1.10.0)
nokogiri (1.6.1) nokogiri (1.6.2.1)
mini_portile (~> 0.5.0) mini_portile (= 0.6.0)
options (2.3.2) options (2.3.2)
progress_bar (1.0.0) progress_bar (1.0.0)
highline (~> 1.6.1) highline (~> 1.6.1)
@ -51,7 +51,7 @@ GEM
rack-test (0.6.2) rack-test (0.6.2)
rack (>= 1.0) rack (>= 1.0)
rr (1.1.2) rr (1.1.2)
sass (3.3.6) sass (3.3.7)
sinatra (1.4.5) sinatra (1.4.5)
rack (~> 1.4) rack (~> 1.4)
rack-protection (~> 1.4) rack-protection (~> 1.4)

@ -17,7 +17,7 @@ class CleanHtmlFilterTest < MiniTest::Spec
it "removes extraneous whitespace" do it "removes extraneous whitespace" do
@body = "<p> \nTest <b></b> \n</p> \n<div>\r</div>\n\n " @body = "<p> \nTest <b></b> \n</p> \n<div>\r</div>\n\n "
assert_equal '<p> Test <b></b> </p> <div> </div>', filter_output_string assert_equal '<p> Test <b></b> </p> <div> </div> ', filter_output_string
end end
it "doesn't remove whitespace from <pre> and <code> nodes" do it "doesn't remove whitespace from <pre> and <code> nodes" do

Loading…
Cancel
Save