1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-09 00:51:31 +00:00

Removed debug messages (#18349).

git-svn-id: http://svn.redmine.org/redmine/trunk@13594 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2014-11-14 20:49:05 +00:00
parent 9b971925db
commit 48205aa7d9

View File

@ -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)