summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-06 12:03:47 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-06 12:03:47 +0000
commit9908565bde4a0a1e675acafc903e9488f9293b07 (patch)
tree8e14c8e4ed4fe0b0943a9011f262ef3cb12fcc86 /lib
parent4ec1376161c519d31355304093b1c0707032a5a9 (diff)
downloadredmine-9908565bde4a0a1e675acafc903e9488f9293b07.tar.gz
redmine-9908565bde4a0a1e675acafc903e9488f9293b07.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/wiki_formatting/textile/redcloth3.rb12
1 files changed, 6 insertions, 6 deletions
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<notextile>\2</notextile>\3' )
- text.gsub!( /^ *==([^=]+.*?)==/m,
- '\1<notextile>\2</notextile>\3' )
+ text.gsub!(/(^|\s)==([^=]+.*?)==(\s|$)?/,
+ '\1<notextile>\2</notextile>\3')
+ text.gsub!(/^ *==([^=]+.*?)==/m,
+ '\1<notextile>\2</notextile>\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)?/,
- '<sup><a href="#fn\1">\1</a></sup>\2' )
+ text.gsub!(/\b\[([0-9]+?)\](\s)?/,
+ '<sup><a href="#fn\1">\1</a></sup>\2')
end
OFFTAGS = /(code|pre|kbd|notextile)/