correctly handle HTML entities in readings

This commit is contained in:
gbateson
2006-02-16 10:17:48 +00:00
parent 33d8eacfe4
commit e5be91b770
+1 -1
View File
@@ -1269,7 +1269,7 @@ class hotpot_xml_tree {
$value = utf8_decode($value);
// decode angle brackets
$value = strtr($value, array('&#x003C;'=>'<', '&#x003E;'=>'>'));
$value = strtr($value, array('&#x003C;'=>'<', '&#x003E;'=>'>', '&#x0026;'=>'&'));
// remove white space between <table>, <ul|OL|DL> and <OBJECT|EMBED> parts
// (so it doesn't get converted to <br />)