Ticket #701 (closed defect: fixed)
Email markup incorrectly truncating email address.
|Reported by:||jon@…||Owned by:||gogo|
|Severity:||normal||Keywords:||email regex truncate|
I accidentally found this bug whilst typing an email address into a document I was writing.
The text I entered is as follows:
New entry with email like Jon.Wilson@… as an email address.
The HTML source produced showed a malformed email address, The address having turned into "Wilson@…". The source produced by Xinha is as follows:
New entry with email like <a href="mailto:Wilson@…">Jon.Wilson@…</a> as an email address.
I don't know how Xinha extracts email addresses, but if you're using a regular expression to identify an email address you should also allow for multiple "." characters in the part of the address before the "@".