Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 103ebbb1687c7aad70bf84dfff70e90fcd287b6c 1 parent 341ff47
@chillu chillu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  core/model/Translatable.php
View
2  core/model/Translatable.php
@@ -1209,7 +1209,7 @@ function MetaTags(&$tags) {
$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()
);
Please sign in to comment.
Something went wrong with that request. Please try again.