Trim text content of config data.