repair double-encoded double quotes
This commit is contained in:
parent
aeb585fee1
commit
c574e4c587
|
@ -636,8 +636,8 @@ function item_store($arr) {
|
|||
// they came through.
|
||||
|
||||
$arr['body'] = str_replace(
|
||||
array('&','>','<'),
|
||||
array('&' ,'>' ,'<'),
|
||||
array('&amp;', '&gt;', '&lt;', '&quot;'),
|
||||
array('&' , '>' , '<', '"'),
|
||||
$arr['body']
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue