coerce slug to string before replacing m-dashes