Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

423 B
Raw Blame
diff --git a/lib/turndown-plugin-gfm.cjs.js b/lib/turndown-plugin-gfm.cjs.js
--- a/lib/turndown-plugin-gfm.cjs.js
+++ b/lib/turndown-plugin-gfm.cjs.js
@@ -222,1 +222,1 @@
-  filteredContent = filteredContent.replace(/\|+/g, '\\|');
+  filteredContent = filteredContent.replace(/\|/g, '\\|');
@@ -339,1 +339,2 @@
 const tableShouldBeHtml = (tableNode, options) => {
+  if (options.preserveTableHtml === false) return false;