Welcome! » Log In » Create A New Profile

AutoFormat.LinkifyEmail Option

Posted by bfroehle 
AutoFormat.LinkifyEmail Option
February 13, 2011 11:40PM

I've added an option to automatically linkify e-mail addresses. Here's the commit message:

    Add AutoFormat.LinkifyEmail Option.
    
    If enabled, automatically provide links to e-mail addresses.
    For example,
      Send an e-mail to user@example.com.
    is transformed to
      Send an e-mail to <a href="mailto:user@example.com">user@example.com</a>.
    
    Signed-off-by: Bradley M. Froehle <brad.froehle@gmail.com>

The code is available in the 'linkify-email' branch of http://repo.or.cz/w/htmlpurifier/bfroehle.git.

Re: AutoFormat.LinkifyEmail Option
February 13, 2011 11:42PM
Re: AutoFormat.LinkifyEmail Option
February 15, 2011 10:07AM

The comments in LinkifyEmail.php are... kind of bogus. Could you please fix them? Thanks!

Re: AutoFormat.LinkifyEmail Option
February 15, 2011 01:07PM

Eeks, you are right about the comments. Clearly borrowed from Linkify.php. I've fixed them and done a forced update to the linkify-email branch.

Sorry, you do not have permission to post/reply in this forum.