trim and strip tags.