title: Hard pro coding - strange error in IE8
body: <p>Please help to find an error in library to compile HTML.</p>
  
  <p>Unfortunately it won't work with <code>&lt;script type="text/template"&gt;&lt;/script&gt;</code> for IE.</p>
  
  <p>"Unterminated string constant" appears in IE8 console in line with this code:</p>
  
  <pre><code>return new Function("variables", 'variables = [variables], svar = "' + block(template.replace(/"/g, '\\"').replace(/\n/g, '\\n')) + '"; return svar;');
  </code></pre>
  
  <p>Full code and example of init() attached here:
  <a href="http://jsfiddle.net/2trv57rk/" rel="nofollow">http://jsfiddle.net/2trv57rk/</a></p>