mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 18:39:22 +08:00
Fix trailing space issue
This commit is contained in:
parent
e77328fb23
commit
813b9a61b0
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user