ignore spaces around double hyphens or emdash