Email addresses are not rendered properly on the UserForm. It is most apparent when registering with more than two components in the domain, e.g., as
Prime.Minister@parliamentNOSPAM.gc.ca.
(However, email addresses with more than 2 components to the domain are rendered correctly elsewhere, e.g., above.)
I found the cause. The text before mailto discovery looks like
... <tr valign='top'><td class='twikiFormTableRow twikiFirstCol'
align='right'>Email</td><td>
Prime.Minister\@parliament.gc.ca</td></tr>
After line 1102 of Render.pm executes, it looks like:
... <tr valign='top'><td class='twikiFormTableRow twikiFirstCol'
align='right'>Email</td><td>
<a href=\"mailto:Prime.Minister\@parliament.gc\">Prime.Minister\@parliament.gc</a>.ca</td></tr>
That code is:
$text =~ s/$STARTWW((mailto\:)?[a-zA-Z0-9-_.+]+@[a-zA-Z0-9-_.]+\.[a-zA-Z0-9-_]+)$ENDWW/$this->_mailLink( $1 )/gem;
with the earlier definitions of
my $STARTWW = qr/^|(?<=[\s\(])/m;
my $ENDWW = qr/$|(?=[\s,.;:!?)])/m;
The left angle bracket isn't in the ENDWW set of characters, so the regex engine has to backtrack to get to a character that is in that set, the period before .ca.
I don't know whether it would break something else, but the obvious and probably too simple solution is to include angle brackets in ENDWW.
Did you install the small fix which is on the
TWiki:Codev.DownloadTWiki
page?
Look for E-mail Address Rendering Fix
--
KJL
That's the ticket, thanks.