mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
code cleanup: rubocop: fix Layout/LeadingCommentSpace in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18690 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -451,10 +451,10 @@ class RedCloth3 < String
|
||||
|
||||
# Search and replace for Textile glyphs (quotes, dashes, other symbols)
|
||||
def pgl( text )
|
||||
#GLYPHS.each do |re, resub, tog|
|
||||
# GLYPHS.each do |re, resub, tog|
|
||||
# next if tog and method( tog ).call
|
||||
# text.gsub! re, resub
|
||||
#end
|
||||
# end
|
||||
text.gsub!(/\b([A-Z][A-Z0-9]{1,})\b(?:[(]([^)]*)[)])/) do |m|
|
||||
"<abbr title=\"#{htmlesc $2}\">#{$1}</abbr>"
|
||||
end
|
||||
@@ -826,7 +826,7 @@ class RedCloth3 < String
|
||||
)
|
||||
(?=<|\s|$)
|
||||
/x
|
||||
#"
|
||||
|
||||
def inline_textile_link( text )
|
||||
text.gsub!( LINK_RE ) do |m|
|
||||
all,pre,atts,text,title,url,proto,slash,post = $~[1..9]
|
||||
|
||||
Reference in New Issue
Block a user