title: Formatting string in html from flask
body: <p>Trying to get the html document be able to take in variables from my flask app, but this part is inside a string.  How do I go about this?</p>
  
  <p>I tried this:</p>
  
  <pre><code>&lt;iframe 
  src="https://embed.spotify.com/?uri=spotify%3Auser%3A{{playerid}}%3Aplaylist%3A{{playlistid}}&amp;theme=white".format() width="1400" height="800" frameborder="0" allowtransparency="true"&gt; 
  &lt;/iframe&gt;
  </code></pre>
  
  <p>but doesn't seem to work.
  The {{playlistid}} and {{playerid}} is from the python flask app, </p>
  
  <pre><code>return render_template(
      "player.html", playerid = LogInfo['username'], 
      playlistid=LogInfo['playlist'])
  </code></pre>