From 59380bb1ac844e1694d5bbcfa326b05b077cb357 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Fri, 30 Dec 2022 14:06:21 -0600 Subject: Remove setting of inner HTML --- popup/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'popup/index.js') diff --git a/popup/index.js b/popup/index.js index 4944e9f..31ec2b3 100644 --- a/popup/index.js +++ b/popup/index.js @@ -68,7 +68,7 @@ function previewOnclick(item){ let titleEl = document.createElement("a") titleEl.href = entry["link"] - titleEl.innerHTML = entry["title"] + titleEl.innerText = entry["title"] let wrapperDiv2 = document.createElement("div") wrapperDiv2.innerText = entry["pubDate"] @@ -78,7 +78,7 @@ function previewOnclick(item){ ]) let td3El = document.createElement("td") - td3El.innerHTML = entry["description"] + td3El.innerText = entry["description"] trEl.append(td3El) }) feeds.append(tableEl) -- cgit v1.2.3