title: Bottlepy escaping HTML characters not working as expected
body: <p>I am trying to figure out why the bottle's escaping of the html escape character '&lt;' is not working as expected.  I have a large page that has several select pull downs.  It loads a lot faster if I have my page include some JavaScript to set the pulldowns.  My full view file is:</p>
  <pre><code>&lt;select&gt;
     &lt;script&gt;
       var sel = document.getElementById('{{name}}');
       var opt = document.createElement(&quot;option&quot;);
       sel.add(opt);
       var n = {{!sorted(choices)}};
       n.forEach(function(n) {
          var opt = document.createElement(&quot;option&quot;);
          opt.value = n;
          opt.text = n;
          sel.add(opt);
       });
     &lt;/script&gt;
    &lt;/select&gt;
  </code></pre>
  <p>In order to post the question, I narrowed it down to the following code by removing my variables so that it can be simply replicated.</p>
  <p>In my simple template view I have the following:<br />
  <code>var y = &quot;{{!'For any x&lt;1'}}&quot;;</code></p>
  <p>I expected the JavaScript variable y to have the value y='For any x&lt;1'.  Using inspect, what bottle produced was:<br />
  <code>var y = &quot;For any x&amp;lt;1&quot;;</code></p>
  <p>When I run bottle --version I get<br />
  <code>Bottle 0.13-dev</code></p>
  <p>Thanks</p>