From e04c7fe1fb2ef477f157af0e1db5b278aff18d3b Mon Sep 17 00:00:00 2001 From: Mustafa Donmez <116388196+MustafaDon777@users.noreply.github.com> Date: Sun, 27 Aug 2023 16:39:03 -0400 Subject: [PATCH] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index dc983be..78452e9 100644 --- a/index.html +++ b/index.html @@ -35,7 +35,7 @@

Open Links in New Tabs

event.preventDefault(); var linkList = document.getElementById("linkList").value; - var links = linkList.split('\n').map(link => link.trim()); + var links = linkList.replace(/\s+/g, '\n').split('\n').map(link => link.trim()); var useHttp = document.getElementById("httpCheckbox").checked; var includeNoNumber = document.getElementById("noNumberCheckbox").checked;