title: Rails 3: Using HTML in i18n form helper translations
body: <p>I am using the automatic form label helper for creating my form labels and having them translated via the i18n support, however, I want to have HTML in the label and I can't figure out how to make it HTML safe.</p>
  
  <p>For example:</p>
  
  <pre><code>en:
    helpers:
      label:
        product:
          name: 'Your Product Name &lt;small&gt;Try to be creative&lt;/small&gt;'
  </code></pre>
  
  <p>Ends up as:</p>
  
  <pre><code>&lt;label for="product_name"&gt;Your Product Name &amp;lt;Try to be creative&amp;gt;&lt;/label&gt;
  </code></pre>
  
  <p>But I want it to be:</p>
  
  <pre><code>&lt;label for="product_name"&gt;Your Product Name &lt;small&gt;Try to be creative&lt;/small&gt;&lt;/label&gt;
  </code></pre>
  
  <p>Is there a way for me to specify the translation as html_safe so that it doesn't get encoded before the output?</p>
  
  <p>Also, this seems like the most semantic way for the HTML to be setup but I am open to suggestions if I am approaching this entirely the wrong way.</p>
  
  <p>Thanks :)</p>
  
  <p>Updated:</p>
  
  <pre><code>&lt;%= form_for @product do |f| %&gt;
    &lt;%= f.label :name %&gt;
    &lt;%= f.text_field :name %&gt;
  &lt;% end %&gt;
  </code></pre>