summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2019-08-17 18:08:10 +0200
committerGitHub <noreply@github.com>2019-08-17 18:08:10 +0200
commit95fc3fa0e5302133f02ef41674a9579a1d5b62b6 (patch)
treef352db012ca2519e5845c1682d1b069d78860c1a
parent76a7ceb27b91569924df39f0ed134b87a63d4607 (diff)
parent770202e03d1457529110b6a255807fd35310f668 (diff)
Merge pull request #636 from adnidor/atom-fix
Declare summary of atom feed items as HTML
-rw-r--r--includes/pages/user_atom.php2
1 files changed, 1 insertions, 1 deletions
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']])
) . '</id>
<updated>' . date('Y-m-d\TH:i:sP', $news_entry['Datum']) . '</updated>
- <summary>' . htmlspecialchars($news_entry['Text']) . '</summary>
+ <summary type="html">' . htmlspecialchars($news_entry['Text']) . '</summary>
</entry>' . "\n";
}