Added escaping and trimming in the meta properties.