diff options
Diffstat (limited to 'format.c')
| -rw-r--r-- | format.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -71,7 +71,8 @@ static d_char *format_line(const char *line) | |||
| 71 | } | 71 | } |
| 72 | else | 72 | else |
| 73 | if (xs_startswith(v, "http")) { | 73 | if (xs_startswith(v, "http")) { |
| 74 | xs *s1 = xs_fmt("<a href=\"%s\" target=\"_blank\">%s</a>", v, v); | 74 | xs *v2 = xs_strip_chars_i(xs_dup(v), "."); |
| 75 | xs *s1 = xs_fmt("<a href=\"%s\" target=\"_blank\">%s</a>", v2, v); | ||
| 75 | s = xs_str_cat(s, s1); | 76 | s = xs_str_cat(s, s1); |
| 76 | } | 77 | } |
| 77 | else | 78 | else |