Other word processors also get it wrong. How could they not? My solution involves a non-breaking space:
[url]Incorrect smart quotes after em-dash - #5 by drmajorbob]