Strip extra white space from text configuration value before applying