title: &amp; is always being decoded (which I don't want) using HtmlOutput or HtmlTemplate
body: <p>I've created a script one or two years ago, which exports all strings for Android and iOS.
  It shows a dialog with textareas for each language with the full strings file in the textarea.
  It always worked fine until UiApp was removed.</p>
  <p>So right now I've tried using HtmlService and HtmlTemplate. Both result in <code>&amp;amp;</code> being converted to &amp;.</p>
  <p>HtmlOutput I'm using this code:</p>
  <pre><code>    var htmlOutput = HtmlService.createHtmlOutput().setWidth(800).setHeight(600);
      htmlOutput.append('&lt;textarea style=&quot;width: 100%; height: 100px;&quot; id=&quot;' + id + '&quot;&gt;' + content + '&lt;/textarea&gt;');
  </code></pre>
  <p>This produces a textarea with for example this:</p>
  <pre><code>&lt;string name=&quot;terms&quot;&gt;Terms &amp; Privacy&lt;/string&gt;
  </code></pre>
  <hr />
  <p>For HtmlTemplate I've tried:</p>
  <pre><code>    var templateString = '&lt;textarea style=&quot;width: 100%; height: 100px;&quot; id=&quot;' + (&quot;export_&quot; + i) + '&quot;&gt;' + '&lt;?!=' + texts[i] + '?&gt;' + '&lt;/textarea&gt;';
  //  Or this one without Force-printing scriptlets
  //  var templateString = '&lt;textarea style=&quot;width: 100%; height: 100px;&quot; id=&quot;' + (&quot;export_&quot; + i) + '&quot;&gt;' + texts[i] + '&lt;/textarea&gt;';
      HtmlService.createTemplate(templateString).evaluate().setWidth(800).setHeight(600);
  </code></pre>
  <p>I tried to use Force-printing scriptlets which gives an even weirder output:</p>
  <pre><code>Terms &amp; Privacy
  </code></pre>
  <p>It doesn't even give the <code>&lt;string&gt;</code> tags around it. When I leave the Force-printing scriptlets away it gives the same result as HtmlOutput.</p>
  <hr />
  <h3>Some extra info</h3>
  <p>Before I'm exporting it using these methods I'm making sure every string is being converted so it will be the correct output for Android and iOS. For example I'm using this piece of code to convert a string:</p>
  <pre><code>var text = o.texts[textIndex];
  text = text.replace(/&amp;/g, &quot;&amp;amp;&quot;);
  '&lt;string name=&quot;' + identifier + '&quot;&gt;' + text + '&lt;/string&gt;' + &quot;\n&quot;;
  </code></pre>
  <p>This is of course not all, but just to give an idea how the script works.</p>