fix: template editor preview entity bug
This commit is contained in:
parent
e7993f2fc1
commit
7506b59b6d
|
|
@ -185,7 +185,7 @@ async function updatePreview() {
|
|||
const container = win?.document.getElementById("preview-container");
|
||||
if (container) {
|
||||
if (ztoolkit.isZotero7()) {
|
||||
container.innerHTML = html;
|
||||
container.innerHTML = html.replace(/ /g, "#160;");
|
||||
} else {
|
||||
container.innerHTML = "";
|
||||
container.appendChild(
|
||||
|
|
|
|||
Loading…
Reference in New Issue