title: Django template error while rendering a unicode string
body: <p>I am passing a python list to a django template like this:</p>
  
  <p>in <code>views.py</code>:</p>
  
  <pre><code>dat = [-77.448599999999999, 37.536900000000003, u'Virginia War Memorial', 1.0]
  result={"dat":dat}
  return render(request,'result_map.html', {'form': form,'result':result})
  </code></pre>
  
  <p>and in my template:</p>
  
  <pre><code>var dat = {{ result.dat }}
  </code></pre>
  
  <p>but in the rendered html I get:</p>
  
  <pre><code>var dat = [-77.448599999999999, 37.536900000000003, u&amp;#39;Virginia War Memorial&amp;#39;, 1.0]
  </code></pre>
  
  <p>which gives an error. </p>
  
  <p>How can I get:</p>
  
  <pre><code>var dat = [-77.448599999999999, 37.536900000000003, 'Virginia War Memorial', 1.0]
  </code></pre>
  
  <p>thanks</p>