mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX Returning File->getTreeTitle() with user input XML escaped, mirroring functionality in SiteTree->getTreeTitle()
This commit is contained in:
parent
68051fdb96
commit
42bc5ffb47
@ -240,7 +240,7 @@ class File extends DataObject {
|
|||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function getTreeTitle() {
|
function getTreeTitle() {
|
||||||
return $this->Title;
|
return Convert::raw2xml($this->Title);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user