An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/9664
Vanessa800489574f5e
diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.tsindex e461562c1f..e909271b9a 100644--- a/app/src/protyle/toolbar/index.ts+++ b/app/src/protyle/toolbar/index.ts@@ -1051,13 +1051,13 @@ export class Toolbar {}} else {// 行级备注自动移除换行 https://ld246.com/article/1664205917326- item.setAttribute("data-inline-memo-content", Lute.EscapeHTMLStr(textElement.value.replace(/\n/g, " ")));+ item.setAttribute("data-inline-memo-content", Lute.EscapeHTMLStr(textElement.value));}});} else if (types.includes("inline-math")) {// 行内数学公式不允许换行 https://github.com/siyuan-note/siyuan/issues/2187if (textElement.value) {- renderElement.setAttribute("data-content", Lute.EscapeHTMLStr(textElement.value.replace(/\n/g, "")));+ renderElement.setAttribute("data-content", Lute.EscapeHTMLStr(textElement.value));renderElement.removeAttribute("data-render");processRender(renderElement);} else {