summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-16 13:00:41 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-16 13:00:41 +0000
commit3f691ee4c21107500f7c4a53866a998cc3beb408 (patch)
tree5e57e35584636b039f3809dda15913c50e463c44 /lib
parent230abc1cefee30182905d5e52ddc8b62b548a432 (diff)
downloadredmine-3f691ee4c21107500f7c4a53866a998cc3beb408.tar.gz
redmine-3f691ee4c21107500f7c4a53866a998cc3beb408.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/wiki_formatting/textile/redcloth3.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/redmine/wiki_formatting/textile/redcloth3.rb b/lib/redmine/wiki_formatting/textile/redcloth3.rb
index 38f98282a..24aa67267 100644
--- a/lib/redmine/wiki_formatting/textile/redcloth3.rb
+++ b/lib/redmine/wiki_formatting/textile/redcloth3.rb
@@ -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]