Escape pre-input charactors