fix: 修正 ABCJS 渲染使用 textContent 以提高音樂譜顯示準確性

style: 移除多餘的換行符號以保持代碼整潔
This commit is contained in:
Jerry
2026-01-16 01:16:47 +08:00
parent 2bab33d312
commit b6afb6edad
2 changed files with 2 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ script.
const options = { ...params, responsive: "resize" }
// Render the music score using ABCJS.renderAbc
ABCJS.renderAbc(ele, ele.innerHTML, options)
ABCJS.renderAbc(ele, ele.textContent, options)
}
}, 100)
}