Extra \n between lines when pasting in code block

  1. In markdown file write block in triple ` brackets.
  2. Copy some code from my code editor
  3. Paste in that block
  4. Obsidian replaces single new line (’\n’ symbol) with 2, even in preview mode.

This is very inconvenient.

paste without formatting.