When copying from browser, the blank space between code tags changes to  

Steps to reproduce

Copy the " a , blockquote , br , code , em, …" part from this link and paste it into the Obsidian.
Then blank between backtick (which is converted to <code> tag) is turned into nbsps.

Did you follow the troubleshooting guide? [Y]

Expected result

I think the blank should parsed to blank " "

Actual result

The blank is parsed to &nbsp;

Environment

SYSTEM INFO:
Obsidian version: v1.4.16
Installer version: v1.4.16
Operating system: Windows 10 Pro 10.0.22621
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

1 Like

I don’t understand. Post a screen recording of this happening in the sandbox vault and attach a copy of the notes where this happens.

I think they mean this but admit I don’t know what’s going on here. Funky website?

The linked webpage:

Pasted into Obsidian with cmd + v (rendered / Reading view):

If you type into Obsidian

Normally, in markdown, those are: a, blockquote, br, code, em, h1, h2, h3, h4, h5, h6, hr, img, li, ol, p, pre, strong, and ul

and add the backticks yourself

Normally, in markdown, those are: `a`, `blockquote`, `br`, `code`, `em`, `h1`, `h2`, `h3`, `h4`, `h5`, `h6`, `hr`, `img`, `li`, `ol`, `p`, `pre`, `strong`, and `ul`

the rendered output / Reading view doesn’t have the &nbsp;s and looks normal.

Oh, I’ve recorded a video that could serve as an explanation. Would it be helpful?

youtube link

Copied and pasted (ctrl + v) from the original link:
https://github.com/remarkjs/react-markdown#appendix-b-components

Elements tab (Reading view) in the Obsidian inspector.

Vivaldi paste →

Edge paste →

Firefox paste →

I did some digging into this. The problem starts in the browser when you copy. The browser punts in the clipboard \u{160} which is the non breaking space