It is recommended not to use any space before or after the em dash, en dash or hyphen.
Read this post on shilpichoudhury.wordpress.com