diff options
author | 2023-06-08 23:04:16 +0200 | |
---|---|---|
committer | 2023-06-08 23:04:16 +0200 | |
commit | fbaf26e8bf3d61449833e12885778814e82eb168 (patch) | |
tree | 48d686dcedfd9c3e5b14fe03643584a1d003590d /formats/JsonFormat.php | |
parent | 95071d0134528ccec51328e26d5c5f14e0db5126 (diff) | |
download | rss-bridge-fbaf26e8bf3d61449833e12885778814e82eb168.tar.gz rss-bridge-fbaf26e8bf3d61449833e12885778814e82eb168.tar.zst rss-bridge-fbaf26e8bf3d61449833e12885778814e82eb168.zip |
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
Diffstat (limited to 'formats/JsonFormat.php')
-rw-r--r-- | formats/JsonFormat.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/JsonFormat.php b/formats/JsonFormat.php index cb47f12d..5bb1a525 100644 --- a/formats/JsonFormat.php +++ b/formats/JsonFormat.php @@ -47,7 +47,7 @@ class JsonFormat extends FormatAbstract $entryTitle = $item->getTitle(); $entryUri = $item->getURI(); $entryTimestamp = $item->getTimestamp(); - $entryContent = $item->getContent() ? sanitize_html($item->getContent()) : ''; + $entryContent = $item->getContent() ? break_annoying_html_tags($item->getContent()) : ''; $entryEnclosures = $item->getEnclosures(); $entryCategories = $item->getCategories(); |