diff --git a/public/index.php b/public/index.php index d259e9b..e7fbe9b 100755 --- a/public/index.php +++ b/public/index.php @@ -53,8 +53,8 @@ foreach ($db->getData($ns, $tx, $query, $limit, PAGE_LIMIT) as $value) { 'block' => $value['block'], 'txid' => $value['txid'], 'time' => date('d-m-Y H:i', $value['time']), - 'key' => nl2br($value['key']), - 'value' => nl2br($value['value']), + 'key' => nl2br(trim($value['key'])), + 'value' => nl2br(trim($value['value'])), ]; }