diff options
Diffstat (limited to 'man2html/man2html.c')
-rw-r--r-- | man2html/man2html.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man2html/man2html.c b/man2html/man2html.c index 6f2b6c1..7d660d2 100644 --- a/man2html/man2html.c +++ b/man2html/man2html.c @@ -168,7 +168,7 @@ add_links(char *c) nr=0; idtest[0]=strstr(c+1,"://"); - idtest[1]=strchr(c+1,'@'); + idtest[1]=(*c=='<'&&c[strlen(c)-1]=='>')?strchr(c+1,'@'):0; idtest[2]=strstr(c,"www."); idtest[3]=strstr(c,"ftp."); idtest[4]=strchr(c+1,'('); |