Consider escaped newlines when shortening