} 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);