summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-14 20:49:05 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-14 20:49:05 +0000
commit48205aa7d98275c8effbc21750449cb2461b0e57 (patch)
tree3e05ff1a2b6f29ecfa7052085da7d8aa1f7ab791 /lib
parent9b971925db934ae7fdc81477d6c0754b70266b76 (diff)
downloadredmine-48205aa7d98275c8effbc21750449cb2461b0e57.tar.gz
redmine-48205aa7d98275c8effbc21750449cb2461b0e57.zip
Removed debug messages (#18349).
git-svn-id: http://svn.redmine.org/redmine/trunk@13594 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/wiki_formatting.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/redmine/wiki_formatting.rb b/lib/redmine/wiki_formatting.rb
index b1085a74a..1ab1e9c85 100644
--- a/lib/redmine/wiki_formatting.rb
+++ b/lib/redmine/wiki_formatting.rb
@@ -113,12 +113,9 @@ module Redmine
# Destructively replaces urls into clickable links
def auto_link!(text)
- Rails.logger.debug "====================="
Rails.logger.debug text
- Rails.logger.debug "====================="
text.gsub!(AUTO_LINK_RE) do
all, leading, proto, url, post = $&, $1, $2, $3, $6
- Rails.logger.debug all
if leading =~ /<a\s/i || leading =~ /![<>=]?/
# don't replace URLs that are already linked
# and URLs prefixed with ! !> !< != (textile images)