sanitizeArgs(args) {
    for (const name in args) {
      const arg = args[name];
      if (typeof arg === 'string') {
        args[name] = arg.replace(reHtml, match => htmlEntities[match]);
      }
    }
    return args;
  }
Sanitize arguments.

Escape HTML tags and entities in string-typed arguments.

@param   {Object} args
@returns {Object}
@private