experiments/old-bluecloth.rb
### Transform URLs in a copy of the specified +str+ into links and return
### it.
Transform URLs in a copy of the specified +str+ into links and return
it.
Transform URLs in a copy of the specified + str + into links and return it .
def transform_auto_links( str, rs )
		@log.debug " Transforming auto-links"
		str.gsub( AutoAnchorURLRegexp, %{<a href="\\1">\\1</a>}).
			gsub( AutoAnchorEmailRegexp ) {|addr|
			encode_email_address( unescape_special_chars($1) )
		}
	end
def transform_auto_links ( str , rs ) @log . debug " Transforming auto-links" str . gsub ( AutoAnchorURLRegexp , %{<a href="\\1">\\1</a>} ) . gsub ( AutoAnchorEmailRegexp ) { | addr | encode_email_address ( unescape_special_chars ( $1 ) ) } end
Transform URLs in a copy of the specified +str+ into links and return
it.
Transform URLs in a copy of the specified + str + into links and return it .
str
<not_specific>
rs
<not_specific>