code: function(string) {
        var self = this;
        return String(string).replace(/[&<>'\/]/g, function(s) {
          return self.entityMap[s];
        });
      }
docs: Escapes special characters with HTML entities
  @memberof TableExport.prototype
  @param string {String}
  @returns {String} escaped string