Skip to content

Commit 5a772d3

Browse files
committed
Added empty line between YAML and body
1 parent 2418d7b commit 5a772d3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- Fix searchbox css
55
- Rewwork toolbar
66
- Empty start note
7+
- Added empty line between YAML and body
78

89
### v2.0.6
910
- Added contextmenu

notes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
if(strlen($nauthor) > 3) $yaml_new[] = trim("author: ".$nauthor).' ';
220220
if(strlen($nsource) > 3) $yaml_new[] = trim("source: ".$nsource).' ';
221221
$yaml_new[] = $yh_be;
222-
$note_content = implode("\r\n", $yaml_new)."\r\n".$note_content;
222+
$note_content = implode("\r\n", $yaml_new)."\r\n\r\n".$note_content;
223223
}
224224
$new_name = $note_name.".".$note_type;
225225
} else {

0 commit comments

Comments
 (0)