rss-bridge/docs/08_Format_API/03_FormatAbstract.md
Dag 2bbce8ebef
refactor: general code base refactor (#2950)
* refactor

* fix: bug in previous refactor

* chore: exclude phpcompat sniff due to bug in phpcompat

* fix: do not leak absolute paths

* refactor/fix: batch extensions checking, fix DOS issue
2022-08-06 22:46:28 +02:00

474 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.

sanitize_html(string $html): string