title: Passing block to label helper in rails3
body: <p>I want to create label tag with some nested elements. I am using label helper and trying to pass inner html as block but generated HTML doesn't look as I expected.
  ERB:</p>
  
  <pre><code>&lt;span&gt;Span element&lt;/span&gt;
  &lt;%= label("object", "method") do %&gt;
    &lt;span&gt;Inner span&lt;/span&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>HTML output:</p>
  
  <pre><code>&lt;span&gt;Span element&lt;/span&gt; 
  &lt;span&gt;Inner span&lt;/span&gt; 
  
  &lt;label for="object_method"&gt;
  &lt;span&gt;Span element&lt;/span&gt; 
    &lt;span&gt;Inner span&lt;/span&gt; 
  &lt;/label&gt;
  </code></pre>
  
  <p>When I pass inner html using &lt;% %> markups output is as it should be:<br>
  ERB:  </p>
  
  <pre><code>&lt;span&gt;Span element&lt;/span&gt;
  &lt;%= label("object", "method") do %&gt;
    &lt;% raw '&lt;span&gt;Inner span&lt;/span&gt;' %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>HTML output:</p>
  
  <pre><code>&lt;span&gt;Span element&lt;/span&gt;
  &lt;label for="object_method"&gt;
    &lt;span&gt;Inner span&lt;/span&gt;
  &lt;/label&gt;
  </code></pre>
  
  <p>I am wondering if it is my mistake or bug in ActionView label helper. For other helpers block passing works fine.</p>
  
  <p>Thanks,
  Michał</p>