In source mode (CM6 editor) blank line is inserted at start of codeblock

Steps to reproduce

  1. open help vault
  2. paste in the following example text: gist
  3. make the window narrow enough to trigger word wrap

Expected result

something like this

Actual result

blank line shown below start of codeblock / definition:


  • Operating system:
  • Debug info:
	Obsidian version: v0.14.10
	Installer version: v0.14.6
	Operating system: Darwin Kernel Version 21.4.0: Fri Mar 18 00:47:26 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T8101 21.4.0
	Login status: logged in
	Catalyst license: insider
	Insider build toggle: on
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Safe mode: on


I can’t reproduce.

Sorry, I missed a step in my repro:

make the window narrow enough to trigger word wrap: