Note composer > 'Extract this heading' should not extract final newline(s) in section

Create note as follows:


# SECTION A

## SUBSECTION A1

# SECTION B

If I use the new ‘Extract this heading’ option on ‘# SECTION A’ from the context menu to create a new note, the original note converts to:

[[SECTION A]]# SECTION B

…I would expect it to convert to:

[[SECTION A]]
# SECTION B

…or, better still:

[[SECTION A]]

# SECTION B
2 Likes

Ok I reproduced, thanks.

will be fixed in 0.12.12