From e624a3f260fcb05507a2d9599fb0ba8ee1e76492 Mon Sep 17 00:00:00 2001 From: Arinas Date: Wed, 21 Oct 2020 07:59:29 +0200 Subject: [PATCH] Added Github Links to Issues in changelog --- demo/index.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/demo/index.html b/demo/index.html index 46ae152..5ac2187 100644 --- a/demo/index.html +++ b/demo/index.html @@ -787,8 +787,11 @@

Author/
Contributors

}); // set all github links - // $('body').html().matchAll(/#\d{1,4}/) - + var res = $('section.changelog').html().replace(/(#\d{1,})/gi, function (x) { + var num = x.substr(1); + return ''+x+''; + }); + $('section.changelog').html(res); })();