Skip to content

Commit

Permalink
Fix br tags showing in cell type field
Browse files Browse the repository at this point in the history
  • Loading branch information
Thource committed Jun 18, 2024
1 parent 7506f63 commit 7c920fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/middleware/populateResidentialSummary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function getLocationDetails(location: Location) {
} else if (location.locationType === 'Cell') {
details.push({
key: { text: 'Cell type' },
value: { text: location.specialistCellTypes.join('<br>') },
value: { html: location.specialistCellTypes.join('<br>') },
})
} else {
if (location.accommodationTypes.filter(type => !ignoredAccommodationTypes.includes(type)).length) {
Expand Down

0 comments on commit 7c920fb

Please sign in to comment.