Skip to content
Snippets Groups Projects
Commit 4b229da9 authored by Alex Barth's avatar Alex Barth
Browse files

#678122 monkeyninja, aditya_kristanto: Duplication of item description to

  other items.
parent d0ebe7fc
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,8 @@
Feeds 6.x 1.0 xxxxx xx, 2010-xx-xx
----------------------------------
- #678122 monkeyninja, aditya_kristanto: Duplication of item description to
other items.
- #750168 jtr: _parser_common_syndication_title does not strip html tags before
constructing a title.
- #648080 pvhee: FeedsNodeProcessor - static caching of mapping targets makes
......
......@@ -360,6 +360,7 @@ function _parser_common_syndication_RSS20_parse($feed_XML) {
$title = "{$news['title']}";
}
$body = '';
if (isset($news['description'])) {
$body = "{$news['description']}";
}
......@@ -375,8 +376,8 @@ function _parser_common_syndication_RSS20_parse($feed_XML) {
$body = "{$content['encoded']}";
}
}
if (!isset($body)) {
$body = "{$news['title']}";
if (empty($body)) {
$body = $title;
}
if (!empty($news['author'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment