1 parent 2645e6f commit b7ed7a1Copy full SHA for b7ed7a1
1 file changed
src/vector/usercontent/index.js
@@ -11,11 +11,12 @@ function remoteRender(event) {
11
const img = document.createElement("img");
12
img.id = "img";
13
img.src = data.imgSrc;
14
+ img.style = data.imgStyle;
15
16
const a = document.createElement("a");
17
a.id = "a";
- a.rel = data.rel;
18
- a.target = data.target;
+ a.rel = "noopener";
19
+ a.target = "_blank";
20
a.download = data.download;
21
a.style = data.style;
22
a.style.fontFamily = "Arial, Helvetica, Sans-Serif";
0 commit comments