1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Fix RuboCop offenses Layout/EmptyLinesAroundModuleBody, Layout/EmptyLinesAroundClassBody, and Layout/TrailingEmptyLines in html_sanitizer.rb (#37750).

git-svn-id: https://svn.redmine.org/redmine/trunk@21912 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2022-10-20 07:34:21 +00:00
parent 7c561362cf
commit 88cb98cda8

View File

@ -19,10 +19,8 @@
module Redmine
module WikiFormatting
# Combination of SanitizationFilter and ExternalLinksFilter
class HtmlSanitizer
Pipeline = HTML::Pipeline.new([
Redmine::WikiFormatting::CommonMark::SanitizationFilter,
Redmine::WikiFormatting::CommonMark::ExternalLinksFilter,
@ -33,7 +31,5 @@ module Redmine
result[:output].to_s
end
end
end
end