From 7c920fbcac14096c5711417f0ee83d7fb865f32e Mon Sep 17 00:00:00 2001 From: Thource Date: Tue, 18 Jun 2024 11:08:43 +0100 Subject: [PATCH] Fix br tags showing in cell type field --- server/middleware/populateResidentialSummary.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/middleware/populateResidentialSummary.ts b/server/middleware/populateResidentialSummary.ts index 6fd3793a..8883cf44 100644 --- a/server/middleware/populateResidentialSummary.ts +++ b/server/middleware/populateResidentialSummary.ts @@ -21,7 +21,7 @@ function getLocationDetails(location: Location) { } else if (location.locationType === 'Cell') { details.push({ key: { text: 'Cell type' }, - value: { text: location.specialistCellTypes.join('
') }, + value: { html: location.specialistCellTypes.join('
') }, }) } else { if (location.accommodationTypes.filter(type => !ignoredAccommodationTypes.includes(type)).length) {