From a8e96ef3f05a7b4bdb1828e8bfe8e213534abefa Mon Sep 17 00:00:00 2001 From: Andrew Short Date: Sun, 8 Nov 2009 21:53:56 +0000 Subject: [PATCH] MINOR #3728: Updated ViewableData to cast to HTMLText rather than HTMLVarchar by default so more XML-centric methods are exposed. From: Andrew Short git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@90977 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/ViewableData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ViewableData.php b/core/ViewableData.php index dc61482d9..e8cdd88bf 100755 --- a/core/ViewableData.php +++ b/core/ViewableData.php @@ -33,7 +33,7 @@ class ViewableData extends Object implements IteratorAggregate { * * @var string */ - public static $default_cast = 'HTMLVarchar'; + public static $default_cast = 'HTMLText'; /** * @var array