Skip to content

Commit 5f98690

Browse files
also clean team name in comments (#13616)
1 parent 1c7a464 commit 5f98690

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotcom-rendering/src/footballMatches.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ const parseMatchResult = (
269269
},
270270
dateTimeISOString: date.value,
271271
paId: feResult.id,
272-
comment: feResult.comments,
272+
comment: cleanTeamName(feResult.comments ?? ''),
273273
});
274274
};
275275

@@ -313,7 +313,7 @@ const parseLiveMatch = (
313313
},
314314
dateTimeISOString: date.value,
315315
paId: feMatchDay.id,
316-
comment: feMatchDay.comments,
316+
comment: cleanTeamName(feMatchDay.comments ?? ''),
317317
status: replaceLiveMatchStatus(feMatchDay.matchStatus),
318318
});
319319
};

0 commit comments

Comments
 (0)