# The HTML that should be generated is: # <h3 class="curated_by">Curated by <span>Bob</span></h3> # Please tell me that there's a better way to do this. def curated_by html = '' html += h.content_tag(:h3, :class => 'curated_by') do h.concat h.t('phrases.Curated_by') h.concat ' ' h.concat h.content_tag(:span, curator_username) end.html_safe html.html_safe end