Skip to content

Commit

Permalink
fix email share link
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Cordiviola committed Feb 4, 2025
1 parent c12af94 commit cdad734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/include/social_meta_vars.inc
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ $socialTitle = isset($socialTitle) ? $socialTitle : "WebPageTest";
$socialDesc = isset($socialDesc) ? $socialDesc : "View this on WebPageTest.org...";
$emailSubject = "View this on WebPageTest!";
$tweetURI = 'https://twitter.com/intent/tweet?text=' . urlencode($socialDesc) . '&url=' . urlencode($pageURI) . '&via=realwebpagetest';
$emailURI = 'mailto:?subject=' . rawurlencode(htmlspecialchars_decode($emailSubject)) . '&body=' . rawurlencode(htmlspecialchars_decode($socialDesc)) . ' %0D%0A ' . urlencode($pageURI);
$emailURI = 'mailto:?subject=' . rawurlencode(htmlspecialchars_decode($emailSubject)) . '&body=' . rawurlencode(htmlspecialchars_decode($socialDesc) . ' %0D%0A ') . $pageURI;

0 comments on commit cdad734

Please sign in to comment.