title: Handlebars specific - escape both single and double quotes when passing Handlebars expression
body: <p>HTML and Handlebars: </p>
  
  <pre><code>onclick='shareItem("{{name}}")'&gt; 
  </code></pre>
  
  <p>Does not successfully pass a safely escaped name when it has double quotes in it.</p>
  
  <pre><code>onclick="shareItem('{{name}}')"&gt; 
  </code></pre>
  
  <p>Does not successfully pass a safely escaped name when it has single quotes in it.</p>
  
  <p>I need to handle both eventualities- and even in the same string.</p>
  
  <p>It feels sloppy to have to define a JS variable and pass it to a backslash adder.</p>
  
  <p>Is there a cleaner way to do this with Handlebars or Moustache?</p>