Feat:公式插件:去除将公式富文本转换为公式源码时的特殊字符转义逻辑,避免双重转换导致报错

This commit is contained in:
街角小林
2024-08-30 17:38:39 +08:00
parent c12b7f6dae
commit 453e7311b8

View File

@@ -110,7 +110,7 @@ class Formula {
for (const el of els)
nodeText = nodeText.replace(
el.outerHTML,
`\$${htmlEscape(el.getAttribute('data-value'))}\$`
`\$${el.getAttribute('data-value')}\$`
)
}
return nodeText