Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Fix trailing space issue
Laurent Cozic813b9a61b024
diff --git a/src/tables.js b/src/tables.jsindex 2cb862b15d..ce0d483763 100644--- a/src/tables.js+++ b/src/tables.js@@ -46,7 +46,7 @@ rules.table = {if (columnCount && !isHeadingRow(firstRow)) {emptyHeader = '|' + ' |'.repeat(columnCount) + '\n' + '|' + ' --- |'.repeat(columnCount)}-+// Ensure there are no blank linescontent = content.replace('\n\n', '\n')return '\n\n' + emptyHeader + content + '\n\n'