mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02: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
|
||||
*/
|
||||
function getTreeTitle() {
|
||||
return $this->Title;
|
||||
return Convert::raw2xml($this->Title);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user