1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-31 13:50:23 +02:00

fix: only escape iframe,script and link for html output (#3882)

This commit is contained in:
Dag
2024-01-09 21:36:42 +01:00
committed by GitHub
parent 1fecc4cfc1
commit 2e5d2a88f3
3 changed files with 3 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ class JsonFormat extends FormatAbstract
$entryTitle = $item->getTitle();
$entryUri = $item->getURI();
$entryTimestamp = $item->getTimestamp();
$entryContent = $item->getContent() ? break_annoying_html_tags($item->getContent()) : '';
$entryContent = $item->getContent() ?? '';
$entryEnclosures = $item->getEnclosures();
$entryCategories = $item->getCategories();