From 36f9609a14c0b0c0630275ffa0438985b307ae53 Mon Sep 17 00:00:00 2001 From: tophf Date: Fri, 13 Jul 2018 00:25:47 +0300 Subject: [PATCH] site is optional in @author fixes #429 --- install-usercss/install-usercss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-usercss/install-usercss.js b/install-usercss/install-usercss.js index e1f93e49..97ecbed6 100644 --- a/install-usercss/install-usercss.js +++ b/install-usercss/install-usercss.js @@ -141,7 +141,7 @@ requestAnimationFrame(adjustCodeHeight); function makeAuthor(text) { - const match = text.match(/^(.+?)(?:\s+<(.+?)>)?(?:\s+\((.+?)\))$/); + const match = text.match(/^(.+?)(?:\s+<(.+?)>)?(?:\s+\((.+?)\))?$/); if (!match) { return document.createTextNode(text); }