This can be resolved by changing one line in markmin2html.py
554 regex_auto = 
re.compile(r'(?<!["\w>/=])(?P<k>\w+://[\w\d\-+_=?%&/:.,;#]+\w|[\w\-.]+@[\w\-.]+)',re.M)
to 
554 regex_auto = 
re.compile(r'(?<!["\w>/=])(?P<k>\w+://[\w\d\-+_=?%&/:.,;#]+\w|[\w\-.]+@[\w\-.]*\w+)',re.M)

It seems reasonable that a domain name should not end in '.' or '-'


On Wednesday, May 27, 2015 at 9:17:58 AM UTC-4, David Manns wrote:
>
> Using MARKMIN helper, if the string includes something like "... text 
> [email protected]. Another sentence ..."  the period following the 
> email address is incorrectly included in the email link.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to