I have a notes file which has a newline preceeding every entry.
* A
test
* B
test2
** B2
test3
Now I want to add other entries to my tree via org-capture. This is an
extract of my org-capture-templates
org-capture-templates
`(("t" "test"
entry (file+headline (concat org-directory "/notes.org") "B2")
"* %? %^t\n%i\n"
:kill-buffer))
Unfortunately the final newline is honoured. It is in the capture
buffer, but after I press C-c C-c, it is magically removed.
Is this a bug? How can I capture new items while preserving my outline
structure?