remove new lines and tags from title and tags