mirror of
https://github.com/redmine/redmine.git
synced 2026-07-06 21:19:48 +02: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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user