mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-12-21 03:37:19 +03:00
fb501652d5
Format should not be responsible for sending HTTP response.
473 B
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