mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR #3728: Updated ViewableData to cast to HTMLText rather than HTMLVarchar by default so more XML-centric methods are exposed.
From: Andrew Short <andrewjshort@gmail.com> git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@90977 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
4252067f0c
commit
a8e96ef3f0
@ -33,7 +33,7 @@ class ViewableData extends Object implements IteratorAggregate {
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public static $default_cast = 'HTMLVarchar';
|
||||
public static $default_cast = 'HTMLText';
|
||||
|
||||
/**
|
||||
* @var array
|
||||
|
Loading…
Reference in New Issue
Block a user