title: MVC .Net 4 Razor Problems using <text> tag
body: <p>Here is my code:</p>
  
  <pre><code>&lt;text&gt;
      &lt;script type="text/javascript"&gt;    
      @foreach (var script in Model.Content.StartupScripts)
      {
          @script
      }    
      &lt;/script&gt;
  &lt;/text&gt;
  </code></pre>
  
  <p>@script contains a javascript script, but this gets rendered by razor as:</p>
  
  <pre><code>  &lt;script type="text/javascript"&gt;    
      {
              {
                  var instanceId = &amp;#39;blah&amp;#39;;
                  new RequestQueue(&amp;#39; blah
         // etc
  </code></pre>
  
  <p>So...it looks like the  tag is not applying to the @script variable because single quotes are being replaced with &amp;#39;. What am I doing wrong?</p>
  
  <p>Thanks!</p>