fixed newline insertion in featured.js script
This commit is contained in:
parent
6c92f3728e
commit
4bc822d993
|
@ -6,7 +6,7 @@ const doInsertText = function(dataName, content) {
|
||||||
} else if (element.tagName === "IMG") {
|
} else if (element.tagName === "IMG") {
|
||||||
element.src = content;
|
element.src = content;
|
||||||
} else {
|
} else {
|
||||||
element.innerText = content;
|
element.textContent = content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue