Move the typography fixes out to a separate function.
Recognize a line-ending -- as an em dash, and correct typography accordingly.