convert r45256

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@45653 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Normann Lou 2007-11-26 04:05:53 +00:00
parent 251455bd8c
commit 609a8528b8

View File

@ -409,10 +409,6 @@ class ViewableData extends Object implements Iterator {
if(!$castedClass || $castedClass == 'HTMLText' || $castedClass == 'HTMLVarchar' || $castedClass == 'Text') {
// Case 2: the value is already XML-safe, just return it
// This replacement is needed to get hash-links working. It's currently being done by Text::AbsoluteLinks()
// This is used in the inform template, but not necessarily elsewhere.
//$val = str_replace('$CurrentPageURL', $_SERVER['REQUEST_URI'], $val);
} else {
// Case 3: the value is raw and must be made XML-safe
$val = Convert::raw2xml($val);