mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX Fix to Convert::xml2raw() for '
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@71325 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
4822c68947
commit
b34713dffc
@ -128,7 +128,7 @@ class Convert extends Object {
|
||||
|
||||
// For simpler stuff, a simple str_replace will do
|
||||
else {
|
||||
$converted = str_replace(array('&', '<', '>'), array('&', '<', '>'), $val);
|
||||
$converted = str_replace(array('&', '<', '>', '''), array('&', '<', '>', "'"), $val);
|
||||
$converted = ereg_replace('&#[0-9]+;', '', $converted);
|
||||
return $converted;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user