1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-30 21:30:14 +02:00

fix: various small fixes (#3519)

This commit is contained in:
Dag
2023-07-09 10:08:30 +02:00
committed by GitHub
parent f0a504bb9a
commit dfe78fb379
5 changed files with 24 additions and 14 deletions

View File

@@ -66,8 +66,7 @@ class SoundCloudBridge extends BridgeAbstract
$item['author'] = $apiItem->user->username;
$item['title'] = $apiItem->user->username . ' - ' . $apiItem->title;
$item['timestamp'] = strtotime($apiItem->created_at);
$description = nl2br($apiItem->description);
$description = nl2br($apiItem->description ?? '');
$item['content'] = <<<HTML
<p>{$description}</p>