title: Move 2sxc <script> to external file when it has razor content
body: <p>I'm trying to make my CSP without unsafe inline.
  Since I have to manually check every file from every app, I may as well move the scripts to external files instead of creating a million word CSP entry in the web.config by adding hashes or nounces.</p>
  <p>This seems easy enough for client side content, but many templates have razor code in then such as:</p>
  <pre><code>&lt;script&gt;
      alert(@myVar);
  &lt;/script&gt;
  </code></pre>
  <p>How can I move this to external?</p>