diff --git a/include/template/ledger_detail_bottom.php b/include/template/ledger_detail_bottom.php
index fbbfc3fe0..c3b1781c3 100644
--- a/include/template/ledger_detail_bottom.php
+++ b/include/template/ledger_detail_bottom.php
@@ -29,7 +29,7 @@ if ($aRap != null ) {
$remove=$rmReconciliation->input();
else
$remove='';
- echo tr (td(''.$internal.'').td(nbm($amount)).td($array_jr[0]['jr_comment']).td($remove));
+ echo tr (td(''.$internal.'').td(nbm($amount)).td(h($array_jr[0]['jr_comment'])).td($remove));
}
echo '';
}