cleanup of title and content from tags