title: RegisterClientScriptBlock writing to document instead of registering a script?
body: <p>Code: </p>
  
  <pre><code>ClientScript.RegisterClientScriptBlock(GetType(), "SetInLocalStorage", $"localStorage.setItem('secTok','{token}');");
  </code></pre>
  
  <p>For whatever reason, it's just printing the command onto the rendered html as plain text instead of a javascript block to run.</p>
  
  <p>What do?</p>