- Remove htmlspecialchars for api data.
This commit is contained in:
@@ -450,12 +450,6 @@ class baseEntry
|
||||
|
||||
$this->setPost($field, $value);
|
||||
}
|
||||
|
||||
/* Use htmlspecialcharts for rich text fields. */
|
||||
foreach($fields as $field)
|
||||
{
|
||||
if(in_array($field, array('desc', 'spec', 'verify', 'steps')) and isset($_POST[$field])) $_POST[$field] = htmlspecialchars($_POST[$field]);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user