fix: template editor preview entity bug

This commit is contained in:
windingwind 2023-06-20 10:29:34 +08:00
parent e7993f2fc1
commit 7506b59b6d

View File

@ -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(