I don't think we can apply the first without a regular expression.  We already make that substitution in `ansi.strip_ansi` , I'll just call that here