<figure class="team"> <a title="John Doe" href="" class="SpamGuard" data-tooltip="Send an Email to John Doe" uT="de" uD="nameofwebsite" uU="john" d="">Kontakt</a> </figure>
Attribute ut not allowed on element a at this point.
Attribute ud not allowed on element a at this point.
Attribute uu not allowed on element a at this point.
Attribute d not allowed on element a at this point.
// parse the email addresses
$emailFields = SpamGuardParser($email, $emailName, 'data-u');
if (!empty($cc)) { $ccFields = SpamGuardParser($cc, $ccName, 'c'); }
if (!empty($bcc)) { $bccFields = SpamGuardParser($bcc, $bccName, 'b'); }
// format subject and body text values
if (!empty($subject)) { $subject = 's="'.rawurlencode($subject).'" '; }
if (!empty($body)) { $body = 'b="'.rawurlencode($body).'" '; }
// format display values
$display = 'd="'.$display.'"';
// create the formatted link for the page:
$output = '<a title="[[+name]]" href="'.$defaultLink.'" ';
$output.= 'class="'.$class.' '.$classes.';
$output.= 'data-tooltip="Send an Email to [[+name]]" ';
$output.= $emailFields . $ccFields .'data-'.$bccFields;
$output.= $subject . $body;
$output.= $display;
$output.= '>'.$defaultDisplay.'</a>';
return $output;<figure class="team"> <a title="John Doe" href="" class="SpamGuard" data-tooltip="Send an email to John Doe" data-uT="de" data-uD="nameofwebsite" data-uU="john" data-d="">Kontakt</a> </figure>
This question has been answered by profilneurotiker. See the first response.
$emailFields = SpamGuardParser($email, $emailName, 'data-u');
$display = 'data-d="'.$display.'"';