Problems copying content in Safari Developer Mode
Safari Technology Preview 61 fixes one of the issues. Per the release notes:

Web Inspector

Fixed copy from Search results content view



These would appear to be bugs in Safari, I can reproduce them in Safari Technology Preview 58. You can report bugs to Apple by following the steps at developer.apple.com/bug-reporting.