Thread:Help talk:Maintenance/suggested lines of code don't copy-paste well from this page

I just tried to copy-paste
 * /path/to/extensions/SemanticMediaWiki/remove­Duplicate­Entities.php --quiet

from the previous page. When I tried to paste it into my editor to put it into a script file, it pasted as
 * /path/to/extensions/SemanticMediaWiki/remove-­Duplicate-­Entities.php --quiet (emphasis is mine)

As in it added dashes in those places. When I tried to copy-paste from the help page to here this does not happen.

If something like that happened to regular text that would be one thing, but when it happens to a code snippet it could really send someone the wrong direction. I can't see in the page why it does that, so could not just correct it. I tried putting it there as  but the weird hyphenation thing still happens.