diff --git a/dev/Common/Html.js b/dev/Common/Html.js index 3fbbf4064..7eb1993da 100644 --- a/dev/Common/Html.js +++ b/dev/Common/Html.js @@ -446,7 +446,9 @@ export const // Convert anchors forEach('a', a => { let txt = a.textContent, href = a.href; - return a.replaceWith((txt.trim() == href ? txt : txt + ' ' + href + ' ')); + return a.replaceWith( + txt.trim() == href || href.includes('mailto:') ? txt : txt + ' ' + href + ' ' + ); }); // Bold