The FormatAbstract class implements the FormatInterface interface with basic functional behavior and adds common helper functions for new formats:
Functions
The sanitizeHtml function
The sanitizeHtml function receives an HTML formatted string and returns the string with disabled <script>, <iframe> and <link> tags.
sanitize_html(string $html): string