From 770202e03d1457529110b6a255807fd35310f668 Mon Sep 17 00:00:00 2001 From: Yannik Enss Date: Thu, 15 Aug 2019 23:42:44 +0200 Subject: Declare summary of atom feed items as HTML RFC4287 Section 3.1.1 requires HTML content to be declared as such with the "type" attribute, this commit adds that attribute to the generated atom feeds. --- includes/pages/user_atom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/pages/user_atom.php b/includes/pages/user_atom.php index e624ceb4..8e5b4858 100644 --- a/includes/pages/user_atom.php +++ b/includes/pages/user_atom.php @@ -77,6 +77,6 @@ function make_atom_entry_from_news($news_entry) page_link_to('news_comments', ['nid' => $news_entry['ID']]) ) . ' ' . date('Y-m-d\TH:i:sP', $news_entry['Datum']) . ' - ' . htmlspecialchars($news_entry['Text']) . ' + ' . htmlspecialchars($news_entry['Text']) . ' ' . "\n"; } -- cgit v1.2.3-54-g00ecf