mirror of https://github.com/MISP/MISP
new: [UI] Added JSON as valid index table field
parent
dc25176384
commit
6d6f6b9f75
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
$data = h(Hash::extract($row, $field['data_path']));
|
||||
echo sprintf(
|
||||
'<div style="white-space:pre;" class="blue bold">%s</div>',
|
||||
json_encode($data, JSON_PRETTY_PRINT)
|
||||
);
|
||||
?>
|
Loading…
Reference in New Issue