mirror of
https://github.com/redmine/redmine.git
synced 2026-03-06 12:31:40 +01: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user