added the functionality for stripping html tags