Sanitisation

Each field type has a sanitizeData method which will be run automatically. This is currently not customisable except for fields that use the purifiesHTML trait (e.g. WYSIWYG, Text and Textarea).

HTML Sanitisation

WYSIWYG, Text and Textarea fields will be sanitised automatically using HTML Purifier. You can view the default settings for this in Yadda\Enso\Crud\Traits\PurifiesHtml. You can customise them by using setSanitizationSettings, setSanitizationSetting, unsetSanitizationSettings, unsetSanitizationSetting and getSanitizationSettings.

Disabling HTML Sanitisation

You can skip the use of HTML Purifier

```php
(new TextField('my_totally_legit_text'))
    ->setPurifyHTML(false),
```