Skip to content

Commit

Permalink
Merge pull request #3102 from ONSdigital/accessibility-for-calculated…
Browse files Browse the repository at this point in the history
…-summary-page

EAR-2291-Adjusted code for acessibility review
  • Loading branch information
Farhanam76 authored Feb 27, 2024
2 parents 0e9be1d + b0b2a90 commit 1277eb2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions eq-author/src/App/page/Preview/CalculatedSummaryPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,9 @@ const CalculatedSummaryPagePreview = ({ page }) => {
<SummaryTotal>
<Grid>
<Column cols={7}>
<SummaryTotalLabel
data-test="total-title"
dangerouslySetInnerHTML={{ __html: page.totalTitle }}
/>
<SummaryTotalLabel data-test="total-title">
{page.totalTitle.replace(/<\/?p>/g, "")}
</SummaryTotalLabel>
</Column>
<Column cols={3}>
<SummaryValue>Value</SummaryValue>
Expand Down

0 comments on commit 1277eb2

Please sign in to comment.