BUGFIX Escaping Translatable->MetaTags() (#4826, thanks juanparati)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95174 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-12-14 19:59:23 +00:00
parent 341ff475bb
commit 103ebbb168

View File

@ -1209,7 +1209,7 @@ class Translatable extends DataObjectDecorator implements PermissionProvider {
$translations = $this->owner->getTranslations();
if($translations) foreach($translations as $translation) {
$tags .= sprintf($template,
$translation->Title,
Convert::raw2xml($translation->Title),
i18n::convert_rfc1766($translation->Locale),
$translation->Link()
);