message: Add function to sanitize HTML recursively
diff: @@ -36,6 +36,14 @@ exports.verify = (token) => jwt.verify(token, publicKey, { expiresIn: 3600 * 5,
  exports.sanitizeHtml = html => sanitizeHtml(html)
  exports.sanitizeLegacy = (input = '') => input.replace(/<(?:\w+)\W+?[\w]/gi, '')
  exports.sanitizeFilename = filename => sanitizeFilename(filename)
  +exports.sanitizeSecure = html => {
  + let sanitized = this.sanitizeHtml(html)
  + if (sanitized === html) {
  + return html
  + } else {
  + return this.sanitizeSecure(sanitized)
  + }
  +}
  exports.authenticatedUsers = {
  tokenMap: {},
  