mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-06-22 21:33:36 +02:00
fix(html_format): add spacing below date if author is missing (#3425)
* small ui tweak * remove unused <div> * refactor: rename method * refactor: inline const * refactor
This commit is contained in:
parent
95071d0134
commit
fbaf26e8bf
11 changed files with 14 additions and 31 deletions
|
@ -1,13 +0,0 @@
|
|||
The `FormatAbstract` class implements the [`FormatInterface`](../08_Format_API/02_FormatInterface.md) interface with basic functional behavior and adds common helper functions for new formats:
|
||||
|
||||
* [sanitizeHtml](#the-sanitizehtml-function)
|
||||
|
||||
# Functions
|
||||
|
||||
## The `sanitizeHtml` function
|
||||
|
||||
The `sanitizeHtml` function receives an HTML formatted string and returns the string with disabled `<script>`, `<iframe>` and `<link>` tags.
|
||||
|
||||
```PHP
|
||||
sanitize_html(string $html): string
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue