experiments/old-bluecloth.rb
### Transform italic- and bold-encoded text in a copy of the specified +str+
### and return it.
Transform italic- and bold-encoded text in a copy of the specified +str+
and return it.
Transform italic - and bold - encoded text in a copy of the specified + str + and return it .
def transform_italic_and_bold( str, rs )
		@log.debug " Transforming italic and bold"
		str.
			gsub( BoldRegexp, %{<strong>\\2</strong>} ).
			gsub( ItalicRegexp, %{<em>\\2</em>} )
	end
def transform_italic_and_bold ( str , rs ) @log . debug " Transforming italic and bold" str . gsub ( BoldRegexp , %{<strong>\\2</strong>} ) . gsub ( ItalicRegexp , %{<em>\\2</em>} ) end
Transform italic- and bold-encoded text in a copy of the specified +str+
and return it.
Transform italic - and bold - encoded text in a copy of the specified + str + and return it .
str
<not_specific>
rs
<not_specific>