Commit 771e32e2 authored by Elias Villiger's avatar Elias Villiger
Browse files

S2509 - Render encrypted mailto as single link - refs #2509, closes #2509

parent 8203e8f7
Pipeline #967 passed with stage
in 1 minute and 42 seconds
......@@ -919,8 +919,8 @@ class Report {
$content .= 'var email = "' . $t1[0] . '"' . chr(10);
$content .= 'var emailHost = "' . $t1[1] . '"' . chr(10);
$content .= 'document.write("<a href=" + "mail" + "to:" + email + "@" + emailHost+ ">" + contact + "</a>")' . chr(10);
$content .= 'document.write("<a href=" + "mail" + "to:" + email + "@" + emailHost+ ">" + contact1 + "</a>")' . chr(10);
$content .= 'document.write("<a href=" + "mail" + "to:" + email + "@" + emailHost+ "><span>" + contact
+ "</span><span>" + contact1 + "</span></a>")' . chr(10);
$content .= '//--></script>';
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment