Escape '\n' for pull reuqest

Add a test to make sure there's no regression