rss-bridge/docs/08_Format_API/03_FormatAbstract.md
Jan Tojnar fb501652d5
Formats: Remove display & related method (#2776)
Format should not be responsible for sending HTTP response.
2022-06-07 18:05:33 +02:00

473 B

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.

sanitizeHtml(string $html): string