From 77e9a691e7930adf2a776dc6a85bdf122b2ff511 Mon Sep 17 00:00:00 2001
From: hackademix <giorgio@maone.net>
Date: Tue, 12 Feb 2019 23:47:09 +0100
Subject: Fixed regression hiding some inline scripts and global license ref
 from UI reports.

---
 html/display_panel/content/main_panel.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'html/display_panel/content')

diff --git a/html/display_panel/content/main_panel.js b/html/display_panel/content/main_panel.js
index f662b35..7934fee 100644
--- a/html/display_panel/content/main_panel.js
+++ b/html/display_panel/content/main_panel.js
@@ -111,7 +111,7 @@ function createList(data, group){
    container.classList.add("empty");
  }
  // generate list
- let viewSourceToHuman = /^view-source:(.*)#line(\d+)\(([^)]*)\)/;
+ let viewSourceToHuman = /^view-source:(.*)#line(\d+)\(([^)]*)\).*/;
  for (let entry of entries) {
    let [scriptId, reason] = entry;
 	 let li = liTemplate.cloneNode(true);
-- 
cgit v1.2.3