title: SyntaxError: identifier starts immediately after numeric literal showing in twig file
body: <pre><code>{% block reviewresult %}
  &lt;div class="scrollerList"&gt; 
  &lt;/div&gt;
  
  {% endblock %}
  {% block myJavascript %}
  &lt;script&gt;
      var stateObject = {};
      var title = "Single";
      var urlEncode = "'" +{{ tag|url_encode(true) }} + "'";
      alert(urlEncode);
  
      var newUrl = baseUrl + "/taglist/" + urlEncode.toString();
  
      $(document).ready(function() {
          ShuffleObj.changeUrl(stateObject, title, newUrl);
  
          ffleObj.setScrollUrl(baseUrl + '/taglist/playlist/' + urlEncode.toString());
      });
  &lt;/script&gt;
  {% endblock %}
  </code></pre>
  
  <p>above code in line <code>var urlEncode = "'" +{{ tag|url_encode(true) }} + "'";</code> shows the error
  <strong>SyntaxError: identifier starts immediately after numeric literal</strong>. In this problem tag value is <code>tag= 123 Forever;</code></p>