mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
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
This commit is contained in:
@@ -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)/
|
||||
|
||||
Reference in New Issue
Block a user