From ca27086c844c7e0f502e5e8e29e74fd0ac9fd5f6 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 8 Mar 2010 20:26:34 +0000 Subject: [PATCH] BUGFIX Fixed SiteTree->MetaTags() to either use or , and only using the "http-equiv" attribute for valid HTTP headers (see http://www.w3.org/TR/html4/struct/global.html#edef-META) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@100631 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/SiteTree.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/core/model/SiteTree.php b/core/model/SiteTree.php index eae320d7e..2a0abe6fc 100755 --- a/core/model/SiteTree.php +++ b/core/model/SiteTree.php @@ -1145,17 +1145,15 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid } $version = new SapphireInfo(); - $tags .= "\n"; + $tags .= "\n"; $charset = ContentNegotiator::get_encoding(); $tags .= "\n"; if($this->MetaKeywords) { - $tags .= "MetaKeywords) . "\" />\n"; + $tags .= "MetaKeywords) . "\" />\n"; } if($this->MetaDescription) { - $tags .= "MetaDescription) . "\" />\n"; + $tags .= "MetaDescription) . "\" />\n"; } if($this->ExtraMeta) { $tags .= $this->ExtraMeta . "\n";