[enh] sanitizer for text input