added stripping of html tags from inputted metadata