Fix text field's line breaks replacement.