vendor/gems/BlueCloth-1.0.0/lib/bluecloth.rb
### Escape any characters special to HTML and encode any characters special
### to Markdown in a copy of the given +str+ and return it.
Escape any characters special to HTML and encode any characters special
to Markdown in a copy of the given +str+ and return it.
Escape any characters special to HTML and encode any characters special to Markdown in a copy of the given + str + and return it .
def encode_code( str, rs )
		str.gsub( %r{&}, '&amp;' ).
			gsub( %r{<}, '&lt;' ).
			gsub( %r{>}, '&gt;' ).
			gsub( CodeEscapeRegexp ) {|match| EscapeTable[match][:md5]}
	end
def encode_code ( str , rs ) str . gsub ( %r{ & } , '&amp;' ) . gsub ( %r{ < } , '&lt;' ) . gsub ( %r{ > } , '&gt;' ) . gsub ( CodeEscapeRegexp ) { | match | EscapeTable [ match ] [ :md5 ] } end
Escape any characters special to HTML and encode any characters special
to Markdown in a copy of the given +str+ and return it.
Escape any characters special to HTML and encode any characters special to Markdown in a copy of the given + str + and return it .
str
<not_specific>
rs
<not_specific>