diff --git a/include/html_report b/include/html_report
index 42db8626..76935786 100644
--- a/include/html_report
+++ b/include/html_report
@@ -29,31 +29,10 @@ addHtmlHeader() {
-
-
-
-
Prowler - AWS Security Assessments
@@ -179,16 +158,31 @@ addHtmlFooter() {
-
-
-
-
-
-
+
+ \$(document).ready(function(){
+
+ \$('#findingsTable').dataTable( { "lengthMenu": [ [50, 100, -1], [50, 100, "All"] ], "ordering": true } );
+
+ var maxLength = 30;
+ \$(".show-read-more").each(function(){
+ var myStr = \$(this).text();
+ if(\$.trim(myStr).length > maxLength){
+ var newStr = myStr.substring(0, maxLength);
+ var removedStr = myStr.substring(maxLength, \$.trim(myStr).length);
+ \$(this).empty().html(newStr);
+ \$(this).append(' read more...');
+ \$(this).append('' + removedStr + '');
+ }
+ });
+ \$(".read-more").click(function(){
+ \$(this).siblings(".more-text").contents().unwrap();
+ \$(this).remove();
+ });
+ });
+
+