From fa2fb8e3fbdb4420be1081f3a314585df00512e7 Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Sun, 24 Nov 2013 17:49:12 +0100 Subject: [PATCH] open named links in new window, @snicker this will not work for links auto detected by marked, we should override this piece of code https://github.com/chjj/marked/blob/master/lib/marked.js#L578 but i am not sure it is possible to do without overriding the whole function --- public/js/directives/directives.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/directives/directives.js b/public/js/directives/directives.js index b8aebecc3c..ce068984b9 100644 --- a/public/js/directives/directives.js +++ b/public/js/directives/directives.js @@ -100,7 +100,7 @@ habitrpg.directive('habitrpgSortable', ['User', function(User) { .replace(/'/g, '''); }; if (cap[0].charAt(0) !== '!') { - return '