title: Why is String Interpolation Failing in erb Template?
body: <p>I have the following code in a .erb file:</p>
  
  <pre><code>&lt;% embed='&lt;a href="http://someurl.com/whatever"&gt;#{@webcast.name}&lt;/a&gt;'%&gt;
  
  &lt;p id="embedCode"&gt;
      &lt;pre&gt;
          &lt;code&gt;
              &lt;%= embed %&gt;
          &lt;/code&gt;
      &lt;/pre&gt;
  &lt;/p&gt;
  </code></pre>
  
  <p>The anchor tag is correctly displayed onscreen as text rather than rendered as a dom element, however the string interpolation is failing. The html is successfully displayed as text but #{@webcast.name} is not evaluated. If a include &lt;%= @webcast.name => in the template, the webcast name in rendered successfully.</p>