Project

General

Profile

Actions

Defect #35752

closed

Warning message "nokogumbo: Using Nokogiri::HTML5 provided by Nokogiri"

Added by Go MAEDA over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Gems support
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

You will see a warning message "nokogumbo: Using Nokogiri::HTML5 provided by Nokogiri" during the startup process. This is due to #32424.

$ bin/rails c -e production
NOTE: nokogumbo: Using Nokogiri::HTML5 provided by Nokogiri. See https://github.com/sparklemotion/nokogiri/issues/2205 for more information.

It can be fixed by simply updating the sanitize gem to 6.0.0.

diff --git a/Gemfile b/Gemfile
index 06869fea7..636e844e6 100644
--- a/Gemfile
+++ b/Gemfile
@@ -51,7 +51,7 @@ end
 group :common_mark do
   gem "html-pipeline", "~> 2.13.2" 
   gem "commonmarker", (RUBY_VERSION < '2.6' ? '0.21.0' : '~> 0.22')
-  gem "sanitize", "~> 5.2" 
+  gem "sanitize", "~> 6.0" 
 end

 # Include database gems for the adapters found in the database

Related issues

Related to Redmine - Feature #32424: CommonMark Markdown Text FormattingClosedMarius BĂLTEANU

Actions
Actions

Also available in: Atom PDF