Escape input used in output