aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-html-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-html-utils.c')
-rw-r--r--e-util/e-html-utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/e-util/e-html-utils.c b/e-util/e-html-utils.c
index bc05d26f25..65d455a39a 100644
--- a/e-util/e-html-utils.c
+++ b/e-util/e-html-utils.c
@@ -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);