From 9908565bde4a0a1e675acafc903e9488f9293b07 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 6 Nov 2019 12:03:47 +0000 Subject: cleanup: rubocop: fix Layout/AlignArguments in lib/redmine/wiki_formatting/textile/redcloth3.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18925 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/wiki_formatting/textile/redcloth3.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/redmine/wiki_formatting/textile/redcloth3.rb b/lib/redmine/wiki_formatting/textile/redcloth3.rb index 10959bf01..d33aede8d 100644 --- a/lib/redmine/wiki_formatting/textile/redcloth3.rb +++ b/lib/redmine/wiki_formatting/textile/redcloth3.rb @@ -999,10 +999,10 @@ class RedCloth3 < String end def no_textile( text ) - text.gsub!( /(^|\s)==([^=]+.*?)==(\s|$)?/, - '\1\2\3' ) - text.gsub!( /^ *==([^=]+.*?)==/m, - '\1\2\3' ) + text.gsub!(/(^|\s)==([^=]+.*?)==(\s|$)?/, + '\1\2\3') + text.gsub!(/^ *==([^=]+.*?)==/m, + '\1\2\3') end def clean_white_space( text ) @@ -1032,8 +1032,8 @@ class RedCloth3 < String end def footnote_ref( text ) - text.gsub!( /\b\[([0-9]+?)\](\s)?/, - '\1\2' ) + text.gsub!(/\b\[([0-9]+?)\](\s)?/, + '\1\2') end OFFTAGS = /(code|pre|kbd|notextile)/ -- cgit v1.2.3