recursively clean content when pasted from html