add a filter to remove html tags
remove trailing spaces