correctly handle HTML entities in readings
This commit is contained in:
+1
-1
@@ -1269,7 +1269,7 @@ class hotpot_xml_tree {
|
||||
$value = utf8_decode($value);
|
||||
|
||||
// decode angle brackets
|
||||
$value = strtr($value, array('<'=>'<', '>'=>'>'));
|
||||
$value = strtr($value, array('<'=>'<', '>'=>'>', '&'=>'&'));
|
||||
|
||||
// remove white space between <table>, <ul|OL|DL> and <OBJECT|EMBED> parts
|
||||
// (so it doesn't get converted to <br />)
|
||||
|
||||
Reference in New Issue
Block a user