Remove embeded span nodes specially when applying a format with exact: true