mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-30 21:30:14 +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:
@@ -124,7 +124,7 @@ function sanitize(
|
||||
return $htmlContent;
|
||||
}
|
||||
|
||||
function sanitize_html(string $html): string
|
||||
function break_annoying_html_tags(string $html): string
|
||||
{
|
||||
$html = str_replace('<script', '<‌script', $html); // Disable scripts, but leave them visible.
|
||||
$html = str_replace('<iframe', '<‌iframe', $html);
|
||||
|
Reference in New Issue
Block a user