title: Write extra spaces to html element with JavaScript
body: <p>We have JavaScript that writes to the document title and attempts to pad it with extra spaces...</p>
  
  <pre><code>document.title = "My Title&amp;nbsp;&amp;nbsp;"
  </code></pre>
  
  <p>But this gets translated to "My Title&amp;amp;nbsp;&amp;amp;nbsp;"</p>
  
  <p>Anyone know how to prevent this?</p>