Commit e26375e8 authored by alexpott's avatar alexpott
Browse files

Issue #2427409 by ParisLiakos: Feed image doesnt display

parent ec408a19
......@@ -94,7 +94,7 @@ public function buildComponents(array &$build, array $entities, array $displays,
if ($image && $label && $link_href) {
$link_title = array(
'#theme' => 'image',
'#path' => $image,
'#uri' => $image,
'#alt' => $label,
);
$image_link = array(
......
......@@ -40,6 +40,7 @@ function testRSS091Sample() {
$this->assertText('First example feed item title');
$this->assertLinkByHref('http://example.com/example-turns-one');
$this->assertText('First example feed item description.');
$this->assertRaw('<img src="http://example.com/images/druplicon.png"');
// Several additional items that include elements over 255 characters.
$this->assertRaw("Second example feed item title.");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment