Skip to content

Commit

Permalink
Adjusted code for acessibility review
Browse files Browse the repository at this point in the history
  • Loading branch information
Farhanam76 committed Feb 26, 2024
1 parent 0e9be1d commit b0b2a90
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 b0b2a90

Please sign in to comment.