mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Using Convert::raw2xml() in LabelField->Field() (fixes #6267, thanks odraska)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115125 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
1c34d8f1b4
commit
05eca28c96
@ -42,7 +42,7 @@ class LabelField extends DatalessField {
|
||||
return $this->createTag(
|
||||
'label',
|
||||
$attributes,
|
||||
($this->getAllowHTML() ? $this->title : htmlentities($this->title))
|
||||
($this->getAllowHTML() ? $this->title : Convert::raw2xml($this->title))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user