Merge pull request #1364 from ArthurHoaro/hotfix/md-rss-permalink
Fix RSS permalink included in Markdown bloc
This commit is contained in:
commit
fc66e61ca9
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ protected function buildItem($link, $pageaddr)
|
||||||
$permalink = '<a href="' . $link['guid'] . '" title="' . t('Permalink') . '">' . t('Permalink') . '</a>';
|
$permalink = '<a href="' . $link['guid'] . '" title="' . t('Permalink') . '">' . t('Permalink') . '</a>';
|
||||||
}
|
}
|
||||||
$link['description'] = format_description($link['description'], $pageaddr);
|
$link['description'] = format_description($link['description'], $pageaddr);
|
||||||
$link['description'] .= PHP_EOL . '<br>— ' . $permalink;
|
$link['description'] .= PHP_EOL . PHP_EOL . '<br>— ' . $permalink;
|
||||||
|
|
||||||
$pubDate = $link['created'];
|
$pubDate = $link['created'];
|
||||||
$link['pub_iso_date'] = $this->getIsoDate($pubDate);
|
$link['pub_iso_date'] = $this->getIsoDate($pubDate);
|
||||||
|
|
Loading…
Reference in a new issue