diff --git a/templates/rss.php b/templates/rss.php index cf8597b1e..ff9ef95aa 100644 --- a/templates/rss.php +++ b/templates/rss.php @@ -34,7 +34,7 @@ - + <?php p(str_replace("\n", ' ', $activity['subject'])); ?> diff --git a/tests/Template/RssTest.php b/tests/Template/RssTest.php index cbd88a39c..3d6ac1bbc 100644 --- a/tests/Template/RssTest.php +++ b/tests/Template/RssTest.php @@ -77,7 +77,7 @@ public function dataContent(): array { ['activity_id' => 1337, 'subject' => '', 'link' => '', 'timestamp' => 0, 'message' => ''], ], ' ' - . "\n" . ' 1337' + . "\n" . ' http://nextcloud.org?id=1337' . "\n" . ' ', ], [ @@ -85,7 +85,7 @@ public function dataContent(): array { ['activity_id' => 42, 'subject' => 'text', 'link' => 'http://docs.nextcloud.org', 'timestamp' => 21, 'message' => 'text2'], ], ' ' - . "\n" . ' 42' + . "\n" . ' http://nextcloud.org?id=42' . "\n" . ' text' . "\n" . ' http://docs.nextcloud.org' . "\n" . ' Thu, 01 Jan 1970 00:00:21 +0000' @@ -97,7 +97,7 @@ public function dataContent(): array { ['activity_id' => 42, 'subject' => 'text', 'link' => 'http://docs.nextcloud.org', 'timestamp' => 21], ], ' ' - . "\n" . ' 42' + . "\n" . ' http://nextcloud.org?id=42' . "\n" . ' text' . "\n" . ' http://docs.nextcloud.org' . "\n" . ' Thu, 01 Jan 1970 00:00:21 +0000'