vendor/gems/BlueCloth-1.0.0/lib/bluecloth.rb
### Do block-level transforms on a copy of +str+ using the specified render
### state +rs+ and return the results.
Do block-level transforms on a copy of +str+ using the specified render
state +rs+ and return the results.
Do block - level transforms on a copy of + str + using the specified render state + rs + and return the results .
def apply_block_transforms( str, rs )
		@log.debug "Applying block transforms to:\n  %p" % str
		text = transform_headers( str, rs )
		text = transform_hrules( text, rs )
		text = transform_lists( text, rs )
		text = transform_code_blocks( text, rs )
		text = transform_block_quotes( text, rs )
		text = transform_auto_links( text, rs )
		text = hide_html_blocks( text, rs )
		text = form_paragraphs( text, rs )
		@log.debug "Done with block transforms:\n  %p" % text
		return text
	end
def apply_block_transforms ( str , rs ) @log . debug "Applying block transforms to:\n  %p" % str text = transform_headers ( str , rs ) text = transform_hrules ( text , rs ) text = transform_lists ( text , rs ) text = transform_code_blocks ( text , rs ) text = transform_block_quotes ( text , rs ) text = transform_auto_links ( text , rs ) text = hide_html_blocks ( text , rs ) text = form_paragraphs ( text , rs ) @log . debug "Done with block transforms:\n  %p" % text return text end
Do block-level transforms on a copy of +str+ using the specified render
state +rs+ and return the results.
Do block - level transforms on a copy of + str + using the specified render state + rs + and return the results .
# Port: This was called '_runBlockGamut' in the original
str
<not_specific>
rs
<not_specific>