mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
341ff475bb
commit
103ebbb168
@ -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()
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user