changeset 1755:c97f28d7c4eb

Open those quest links in another tab as well.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 19 Oct 2017 18:48:39 +0300
parents 3280d419f1c8
children da35721afdad
files mkloc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mkloc.c	Thu Oct 19 18:45:39 2017 +0300
+++ b/mkloc.c	Thu Oct 19 18:48:39 2017 +0300
@@ -859,7 +859,7 @@
     for (i = 0; i < strlen(tmp); i++)
         tmp[i] = th_isspace(tmp[i]) ? '+' : th_tolower(tmp[i]);
 
-    str = th_strdup_printf("<a href=\"http://www.bat.org/help/quests?str=%s\">%s</a>", tmp, desc);
+    str = th_strdup_printf("<a target=\"_blank\" href=\"http://www.bat.org/help/quests?str=%s\">%s</a>", tmp, desc);
     th_free(tmp);
     return str;
 }