Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StringCleanOptions

Options dictionary for SMClean.string

Hierarchy

  • StringCleanOptions

Index

Properties

Optional keepHTML

keepHTML: boolean

If false (default), HTML special characters are encoded

Optional keepNewLines

keepNewLines: boolean

If false (default), newline characters are removed (\n and \r)

Optional maxLength

maxLength: number

If set to a positive integer, rejects strings longer than this (default: 0, which disables this)

Optional minLength

minLength: number

If set to a positive integer, rejects strings shorter than this (default: 0, which disables this)

Generated using TypeDoc