Skip to content

Commit

Permalink
Merge pull request #179 from GSA/wwang-issue16-astro
Browse files Browse the repository at this point in the history
remove external link icon for email to smartpay
  • Loading branch information
mark-meyer authored Jul 11, 2023
2 parents f7a4a7f + efd5792 commit f154293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/process_anchors.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import path from 'path'
function isInternalDomain(url) {
try {
const domain = new URL(url)
return domain.hostname.endsWith('smartpay.gsa.gov')
return domain.hostname.endsWith('smartpay.gsa.gov') || domain.protocol=='mailto:'
} catch(e) {
// this represents urls like "/some/path" without domain
return true
Expand Down

0 comments on commit f154293

Please sign in to comment.