improve(tag): replace tagged html only in the text part not in the attributes