code: function sluggifyText (text) {
    const slug = unEscapeHtmlTags(text).toLowerCase()
      // Replace 'unsafe' chars with dashes (!!!! is changed to -)
      .replace(unsafeCharsRegex, '-')
      // Replace multiple concurrent dashes with a single dash
      .replace(multiDashRegex, '-')
      // Remove trailing -
      .replace(lastCharDashRegex, '')
    // Encode the resulting string to make it url-safe
    return encodeURIComponent(slug)
  }
docs: Takes a text string and returns a url-safe string for use when de-duplicating