property SanitizationRules.allowedTags

Keep only the listed tag names (implies stripTags for non-listed tags).

Type

string[]

Usage

import { type SanitizationRules } from "validation-plugin/src/index.ts";