Fix hashtags links in Feeds

Make the hashtag link absolute in feeds to work properly in RSS syndication tools.
This commit is contained in:
ArthurHoaro 2016-10-19 11:05:20 +02:00
parent ceeb8fbeb8
commit fbc28ff1c8
3 changed files with 4 additions and 1 deletions

View file

@ -249,5 +249,6 @@ class FeedBuilderTest extends PHPUnit_Framework_TestCase
$link = array_shift($data['links']);
$this->assertEquals('http://host.tld:8080/~user/shaarli/?WDWyig', $link['guid']);
$this->assertEquals('http://host.tld:8080/~user/shaarli/?WDWyig', $link['url']);
$this->assertContains('http://host.tld:8080/~user/shaarli/?addtag=hashtag', $link['description']);
}
}