Skip to content

Commit

Permalink
Merge pull request #5401 from dfe-analytical-services/master-into-dev
Browse files Browse the repository at this point in the history
Merge master into dev
  • Loading branch information
mmyoungman authored Nov 19, 2024
2 parents d989292 + a9773d9 commit a74c011
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default function ContentHtml({
const text = domToReact(node.children);

return !url?.includes('explore-education-statistics.service.gov.uk') &&
!url.startsWith('mailto:') &&
!url?.startsWith('mailto:') &&
typeof node.attribs['data-featured-table'] === 'undefined' ? (
<a href={url} target="_blank" rel="noopener noreferrer">
{text} (opens in a new tab)
Expand Down

0 comments on commit a74c011

Please sign in to comment.