mirror of https://github.com/itflow-org/itflow
Remove HTML Entity Decode from the HTML Purifier as this is not needed now
This commit is contained in:
parent
af46738427
commit
16b20c0bfa
|
|
@ -19,7 +19,7 @@ $row = mysqli_fetch_array($sql_document);
|
|||
|
||||
$folder_name = htmlentities($row['folder_name']);
|
||||
$document_name = htmlentities($row['document_name']);
|
||||
$document_content = $purifier->purify(html_entity_decode($row['document_content']));
|
||||
$document_content = $purifier->purify($row['document_content']);
|
||||
//$document_content = $row['document_content'];
|
||||
$document_created_at = htmlentities($row['document_created_at']);
|
||||
$document_updated_at = htmlentities($row['document_updated_at']);
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ $sql_document = mysqli_query($mysqli, "SELECT * FROM documents WHERE document_te
|
|||
$row = mysqli_fetch_array($sql_document);
|
||||
|
||||
$document_name = htmlentities($row['document_name']);
|
||||
$document_content = $purifier->purify(html_entity_decode($row['document_content']));
|
||||
$document_content = $purifier->purify($row['document_content']);
|
||||
//$document_content = $row['document_content'];
|
||||
$document_created_at = htmlentities($row['document_created_at']);
|
||||
$document_updated_at = htmlentities($row['document_updated_at']);
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -44,7 +44,7 @@ if (isset($_GET['ticket_id'])) {
|
|||
$ticket_number = intval($row['ticket_number']);
|
||||
$ticket_category = htmlentities($row['ticket_category']);
|
||||
$ticket_subject = htmlentities($row['ticket_subject']);
|
||||
$ticket_details = $purifier->purify(html_entity_decode($row['ticket_details']));
|
||||
$ticket_details = $purifier->purify($row['ticket_details']);
|
||||
//$ticket_details = $row['ticket_details'];
|
||||
$ticket_priority = htmlentities($row['ticket_priority']);
|
||||
//Set Ticket Bage Color based of priority
|
||||
|
|
|
|||
Loading…
Reference in New Issue