Conversion to Markdown when pasting codeblocks from the browser adds `\` to every `\`

Steps to reproduce

Copy code from the browser. Example in LaTeX:

Expected result

I expect only one backslash \ to be copied.
grafik

Actual result

Obsidian inserts another backslash when pasting the text.
grafik

Environment

  • Operating system: Windows 10
  • Obsidian version: 0.10.1

Additional information

This appeared after the feature Pasting HTML content will now be automatically converted to Markdown. was introduced. The screenshots were taken with Safe mode on and no custom css.

Have you tried pasting with Ctrl+Shift+V?

1 Like

when you paste code, you should use ctrl+shift+v unformatted paste.

1 Like

That works.
Before I had another shortcut linked to it.
The Ctrl + Shift + V for pasting unformatted text also isn’t in the hotkey list.