diff options
author | Go MAEDA <maeda@farend.jp> | 2022-10-20 07:48:27 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2022-10-20 07:48:27 +0000 |
commit | 3fe8a7575d1be2094c5ee610cf067ef821447347 (patch) | |
tree | 4437d686dd220c2da19be6b849be4791fc79da32 /lib | |
parent | 88cb98cda845dabd16a37f02493b77c184c0dd44 (diff) | |
download | redmine-3fe8a7575d1be2094c5ee610cf067ef821447347.tar.gz redmine-3fe8a7575d1be2094c5ee610cf067ef821447347.zip |
Fix RuboCop offense Layout/FirstArrayElementIndentation in html_sanitizer.rb (#37750).
git-svn-id: https://svn.redmine.org/redmine/trunk@21913 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/wiki_formatting/html_sanitizer.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/redmine/wiki_formatting/html_sanitizer.rb b/lib/redmine/wiki_formatting/html_sanitizer.rb index bd84ff4f6..05e5ffd55 100644 --- a/lib/redmine/wiki_formatting/html_sanitizer.rb +++ b/lib/redmine/wiki_formatting/html_sanitizer.rb @@ -21,10 +21,11 @@ module Redmine module WikiFormatting # Combination of SanitizationFilter and ExternalLinksFilter class HtmlSanitizer - Pipeline = HTML::Pipeline.new([ - Redmine::WikiFormatting::CommonMark::SanitizationFilter, - Redmine::WikiFormatting::CommonMark::ExternalLinksFilter, - ], {}) + Pipeline = HTML::Pipeline.new( + [ + Redmine::WikiFormatting::CommonMark::SanitizationFilter, + Redmine::WikiFormatting::CommonMark::ExternalLinksFilter, + ], {}) def self.call(html) result = Pipeline.call html |