Thank you for the recording.
You’re right, I can repro when I don’t select from the beginning of the line or over the end of the line.
Something else I noticed:
It also replaces markdown syntax with a control character zero width space in Live Preview. That must be because it’s copying directly what is there. The rendered markdown in LP contains zero width spaces due to the rendering.