pgAdmin 4 including  in all copied strings
It turns out this is a known bug:

https://redmine.postgresql.org/issues/2980

It has been fixed in source already. Expect the fix in pgAdmin 4 v3. Khushboo said in the pgadmin-support list that it will be out soon.