vendor/gems/BlueCloth-1.0.0/lib/bluecloth.rb
### Apply Markdown span transforms to a copy of the specified +str+ with the
### given render state +rs+ and return it.
Apply Markdown span transforms to a copy of the specified +str+ with the
given render state +rs+ and return it.
Apply Markdown span transforms to a copy of the specified + str + with the given render state + rs + and return it .
def apply_span_transforms( str, rs )
		@log.debug "Applying span transforms to:\n  %p" % str
		str = transform_code_spans( str, rs )
		str = encode_html( str )
		str = transform_images( str, rs )
		str = transform_anchors( str, rs )
		str = transform_italic_and_bold( str, rs )
		str.gsub!( / {2,}\n/, "<br#{EmptyElementSuffix}\n" )
		@log.debug "Done with span transforms:\n  %p" % str
		return str
	end
def apply_span_transforms ( str , rs ) @log . debug "Applying span transforms to:\n  %p" % str str = transform_code_spans ( str , rs ) str = encode_html ( str ) str = transform_images ( str , rs ) str = transform_anchors ( str , rs ) str = transform_italic_and_bold ( str , rs ) str . gsub! ( /  {2,} \n / , "<br#{EmptyElementSuffix}\n" ) @log . debug "Done with span transforms:\n  %p" % str return str end
Apply Markdown span transforms to a copy of the specified +str+ with the
given render state +rs+ and return it.
Apply Markdown span transforms to a copy of the specified + str + with the given render state + rs + and return it .
# Hard breaks
str
<not_specific>
rs
<not_specific>