Merge pull request #636 from adnidor/atom-fix
Declare summary of atom feed items as HTML
This commit is contained in:
commit
95fc3fa0e5
|
@ -77,6 +77,6 @@ function make_atom_entry_from_news($news_entry)
|
||||||
page_link_to('news_comments', ['nid' => $news_entry['ID']])
|
page_link_to('news_comments', ['nid' => $news_entry['ID']])
|
||||||
) . '</id>
|
) . '</id>
|
||||||
<updated>' . date('Y-m-d\TH:i:sP', $news_entry['Datum']) . '</updated>
|
<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";
|
</entry>' . "\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue