How to convert part of the text to clickable links

2005-11-21 Thread Akmal Khodjanov

Hello all,

Can anybody explain me how mozilla mailnews or thunderbird identifies 
parts of the text as possible links, like http://www.google.com it would 
render as a clickable link, or [EMAIL PROTECTED] it would show as mailto: 
link.


Thanks.

-ak.
___
mozilla-embedding mailing list
mozilla-embedding@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-embedding


Re: How to convert part of the text to clickable links

2005-11-21 Thread Boris Zbarsky

Akmal Khodjanov wrote:
Can anybody explain me how mozilla mailnews or thunderbird identifies 
parts of the text as possible links, like http://www.google.com it would 
render as a clickable link, or [EMAIL PROTECTED] it would show as mailto: 
link.


Presumably this is done by the text-to-html converter (either 
mozTXTToHTMLConv.cpp or nsTXTToHTMLConv.cpp -- I'm not sure which is used where).


-Boris
___
mozilla-embedding mailing list
mozilla-embedding@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-embedding