Make the hashtag link absolute in feeds to work properly in RSS syndication tools.
- Plugins:
- Tools: only display parameter description when it exists
- archive.org: do not propose archival of private notes
+- Use absolute URL for hashtags in RSS and ATOM feeds
### Security
- Allow whitelisting trusted IPs, else continue banning clients upon login failure
} else {
$permalink = '<a href="'. $link['guid'] .'" title="Permalink">Permalink</a>';
}
- $link['description'] = format_description($link['description']) . PHP_EOL .'<br>— '. $permalink;
+ $link['description'] = format_description($link['description'], '', $pageaddr);
+ $link['description'] .= PHP_EOL .'<br>— '. $permalink;
$pubDate = DateTime::createFromFormat(LinkDB::LINK_DATE_FORMAT, $link['linkdate']);
$link['pub_iso_date'] = $this->getIsoDate($pubDate);
$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']);
}
}