summaryrefslogtreecommitdiff
path: root/smu.c
diff options
context:
space:
mode:
Diffstat (limited to 'smu.c')
-rw-r--r--smu.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/smu.c b/smu.c
index c7ce849..dc72cb3 100644
--- a/smu.c
+++ b/smu.c
@@ -277,6 +277,13 @@ dolink(const char *begin, const char *end, int newblock) {
else {
linkend = q;
}
+
+ /* Links can be given in angular brackets */
+ if(*link == '<' && *(linkend - 1) == '>') {
+ link++;
+ linkend--;
+ }
+
len = q + 1 - begin;
if(img) {
fputs("<img src=\"", stdout);