Handle &mdash seperately
output any errors instead of crashing