diff --git a/src/vector/usercontent/index.js b/src/vector/usercontent/index.js index 9c1901f50d..8e77f6860e 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";