stripLinks

Strips a tags from a given string.

const sanitizationRules = {
  message: 'strip_links'
}

// or
const sanitizationRules = {
  message: [
    rule('strip_links')
  ]
}

For customized build, you can import this rule as follows.

import { stripLinks } from 'indicative/builds/validations'