diff --git a/Gemfile b/Gemfile index 323309b9..3e1ca1c3 100644 --- a/Gemfile +++ b/Gemfile @@ -22,7 +22,7 @@ gem 'spork-rails' gem 'rails_autolink', '>= 1.1.5' gem 'rdiscount' -gem 'sanitize', '~> 2.0' +gem 'sanitize', '~> 5.2' gem 'rouge' gem 'diff-lcs' diff --git a/Gemfile.lock b/Gemfile.lock index 821d23e0..0b197fdf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -194,6 +194,8 @@ GEM nokogiri (1.11.7) mini_portile2 (~> 2.5.0) racc (~> 1.4) + nokogumbo (2.0.5) + nokogiri (~> 1.8, >= 1.8.4) notiffany (0.0.7) nenv (~> 0.1) shellany (~> 0.0) @@ -294,8 +296,10 @@ GEM ruby-progressbar (~> 1.7) unicode-display_width (~> 1.0, >= 1.0.1) ruby-progressbar (1.8.1) - sanitize (2.1.0) - nokogiri (>= 1.4.4) + sanitize (5.2.1) + crass (~> 1.0.2) + nokogiri (>= 1.8.0) + nokogumbo (~> 2.0) sass (3.2.19) sass-rails (4.0.5) railties (>= 4.0.0, < 5.0) @@ -414,7 +418,7 @@ DEPENDENCIES rspec-collection_matchers rspec-rails (~> 3.1.0) rubocop - sanitize (~> 2.0) + sanitize (~> 5.2) sass (~> 3.2.0) sass-rails (~> 4.0) shoulda-matchers