title: string.format conflcits with css tags : { } 's
body: <p>This is the way i replace variables in my html templates</p>
  
  <pre><code>a1 = '&lt;html&gt;&lt;title&gt;{0}&lt;/title&gt;&lt;body&gt;{1}&lt;/body&gt;&lt;/html&gt;'
   vars = ['test', 'test']
   output = a1.format(*vars)
  </code></pre>
  
  <p>the problem is.. this conflicts with css tags when there is css in the html.</p>
  
  <p>because css contains:</p>
  
  <pre><code> {}'s
  </code></pre>