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/11276
Vanessa834a7362934b
diff --git a/app/src/protyle/preview/index.ts b/app/src/protyle/preview/index.tsindex 446d370f9c..134529af33 100644--- a/app/src/protyle/preview/index.ts+++ b/app/src/protyle/preview/index.ts@@ -224,6 +224,15 @@ export class Preview {copyElement.querySelectorAll("mjx-container > svg").forEach((item) => {item.setAttribute("width", (parseInt(item.getAttribute("width")) * 8) + "px");});+ // 列表嵌套 https://github.com/siyuan-note/siyuan/issues/11276+ copyElement.querySelectorAll("ul, ol").forEach(listItem => {+ Array.from(listItem.children).forEach(liItem => {+ const nestedList = liItem.querySelector("ul, ol");+ if (nestedList) {+ liItem.parentNode.insertBefore(nestedList, liItem.nextSibling);+ }+ });+ });} else if (type === "zhihu") {this.link2online(copyElement);copyElement.querySelectorAll('[data-subtype="math"]').forEach((item: HTMLElement) => {