summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-10-20 07:34:21 +0000
committerGo MAEDA <maeda@farend.jp>2022-10-20 07:34:21 +0000
commit88cb98cda845dabd16a37f02493b77c184c0dd44 (patch)
treebf7c35b8cea36ce62fc8710410f74bbad287e4ff /lib
parent7c561362cf6d6d29f3f48965172513b9d178d536 (diff)
downloadredmine-88cb98cda845dabd16a37f02493b77c184c0dd44.tar.gz
redmine-88cb98cda845dabd16a37f02493b77c184c0dd44.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/wiki_formatting/html_sanitizer.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/redmine/wiki_formatting/html_sanitizer.rb b/lib/redmine/wiki_formatting/html_sanitizer.rb
index 8247c181c..bd84ff4f6 100644
--- a/lib/redmine/wiki_formatting/html_sanitizer.rb
+++ b/lib/redmine/wiki_formatting/html_sanitizer.rb
@@ -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
-