From b7ed7a1dd789cc19bf27ffb68e7ae3260f95cfc1 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 13 Feb 2020 16:53:45 +0000 Subject: [PATCH] Update comments and such Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/vector/usercontent/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/vector/usercontent/index.js b/src/vector/usercontent/index.js index 9c1901f5..8e77f686 100644 --- a/src/vector/usercontent/index.js +++ b/src/vector/usercontent/index.js @@ -11,11 +11,12 @@ function remoteRender(event) { const img = document.createElement("img"); img.id = "img"; img.src = data.imgSrc; + img.style = data.imgStyle; const a = document.createElement("a"); a.id = "a"; - a.rel = data.rel; - a.target = data.target; + a.rel = "noopener"; + a.target = "_blank"; a.download = data.download; a.style = data.style; a.style.fontFamily = "Arial, Helvetica, Sans-Serif";