From 3fe8a7575d1be2094c5ee610cf067ef821447347 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 20 Oct 2022 07:48:27 +0000 Subject: [PATCH] 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 --- lib/redmine/wiki_formatting/html_sanitizer.rb | 9 +++++---- 1 file 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 -- 2.39.5