Convert file: urls too. Fixes bug #29557.
2002-08-28 Jeffrey Stedfast <fejj@ximian.com> * e-html-utils.c (e_text_to_html_full): Convert file: urls too. Fixes bug #29557. svn path=/trunk/; revision=17899
This commit is contained in:
committed by
Jeffrey Stedfast
parent
2f038b76cb
commit
bd8e7f9978
@ -1,5 +1,8 @@
|
||||
2002-08-28 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
||||
* e-html-utils.c (e_text_to_html_full): Convert file: urls
|
||||
too. Fixes bug #29557.
|
||||
|
||||
* e-proxy.[c,h] (e_proxy_init): New convenience function to
|
||||
initialise the proxy settings for soup to use.
|
||||
|
||||
|
||||
@ -249,7 +249,8 @@ e_text_to_html_full (const char *input, unsigned int flags, guint32 color)
|
||||
!strncasecmp (cur, "ftp://", 6) ||
|
||||
!strncasecmp (cur, "nntp://", 7) ||
|
||||
!strncasecmp (cur, "mailto:", 7) ||
|
||||
!strncasecmp (cur, "news:", 5)) {
|
||||
!strncasecmp (cur, "news:", 5) ||
|
||||
!strncasecmp (cur, "file:", 5)) {
|
||||
tmpurl = url_extract (&cur, TRUE);
|
||||
if (tmpurl) {
|
||||
refurl = e_text_to_html (tmpurl, 0);
|
||||
|
||||
Reference in New Issue
Block a user