Update alternate xml link tag to be W3 compliant

The link tag being produced was not W3 compliant as it was using the nofollow value in the rel attribute on a link tag which is not permitted as per the W3 standards http://www.w3.org/TR/html5/links.html#linkTypes
This commit is contained in:
textagroup 2015-10-20 16:58:45 +13:00
parent b6179c5eef
commit f0c92002b6
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ class VersionFeed_Controller extends Extension {
$url = $this->owner->getSiteRSSLink();
Requirements::insertHeadTags(
'<link rel="alternate nofollow" type="application/rss+xml" title="' . $title .
'<link rel="alternate" type="application/rss+xml" title="' . $title .
'" href="' . $url . '" />');
}