mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
Fix trailing space issue
This commit is contained in:
@@ -46,7 +46,7 @@ rules.table = {
|
||||
if (columnCount && !isHeadingRow(firstRow)) {
|
||||
emptyHeader = '|' + ' |'.repeat(columnCount) + '\n' + '|' + ' --- |'.repeat(columnCount)
|
||||
}
|
||||
|
||||
|
||||
// Ensure there are no blank lines
|
||||
content = content.replace('\n\n', '\n')
|
||||
return '\n\n' + emptyHeader + content + '\n\n'
|
||||
|
||||
Reference in New Issue
Block a user