mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-10-24 13:06:04 +02:00
* 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
474 B
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