Transform italic- and bold-encoded text in a copy of the specified str and return it.
Source Code
# File bluecloth.rb, line 873 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
<code/>and<pre/>for code samples.