Copy/paste inline code in tables

Joplin 2.7.15
Windows 10
Using WYSIWYG editor in Joplin

  1. In tables, when copying/pasting text and using Inline Code option, when i tripple-click on the inline code and copy/paste(and ctrl + c, ctrl + v) to copy whole line of code, it pastes with ` ` around the code.

How can i copy/paste code without also copying ` `

  1. Additionally when i copy a line in a table cell, not formatted into code (tripple-clicking the line + copy), and paste it, for example below line into /etc/samba/smb.conf:
   host msdfs = yes

there are 3 spaces before the "host" word as well, but the code is not accepted when checked with testparm. When i manually replace begining spaces in the script, everything works fine.

Help?