From b42d7984b1cc2530488d136ea215dfc59984ee44 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 23 May 2024 11:25:16 +0000 Subject: Fix RuboCop offense Style/SuperArguments (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22842 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/wiki_formatting/common_mark/markdown_filter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/redmine/wiki_formatting') diff --git a/lib/redmine/wiki_formatting/common_mark/markdown_filter.rb b/lib/redmine/wiki_formatting/common_mark/markdown_filter.rb index 8b28c2e95..916c8883c 100644 --- a/lib/redmine/wiki_formatting/common_mark/markdown_filter.rb +++ b/lib/redmine/wiki_formatting/common_mark/markdown_filter.rb @@ -27,7 +27,7 @@ module Redmine # options class MarkdownFilter < HTML::Pipeline::TextFilter def initialize(text, context = nil, result = nil) - super(text, context, result) + super @text = @text.delete "\r" end -- cgit v1.2.3