code: function register(handlebars) {
    handlebars.registerHelper('escape', function(variable) {
      return variable.replace(/['"]/g, '\\"').replace(/[\n]/g, '\\n');
    });
  }
docs: escapes quotes and newline characters using a backslash