blob: 8cf0418f9156c48b6449dd87a60367e3718dc410 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
The `FormatAbstract` class implements the [`FormatInterface`](../08_Format_API/02_FormatInterface.md) interface with basic functional behavior and adds common helper functions for new formats:
* [sanitizeHtml](#the-sanitizehtml-function)
# Functions
## The `sanitizeHtml` function
The `sanitizeHtml` function receives an HTML formatted string and returns the string with disabled `<script>`, `<iframe>` and `<link>` tags.
```PHP
sanitizeHtml(string $html): string
```
|