diff --git a/lib/redmine/wiki_formatting.rb b/lib/redmine/wiki_formatting.rb index b1085a7..1ab1e9c 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 =~ /=]?/ # don't replace URLs that are already linked # and URLs prefixed with ! !> !< != (textile images)