aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2020-04-24 05:38:12 +0300
committerRblSb <msrblsb@gmail.com>2020-04-24 05:38:12 +0300
commit95688a8494e2e71aeb4c9e3a1037c4848a90cd21 (patch)
tree7d90736a6998641a895a2b989746337a7d4bdd12 /src
parentaf0b3a3fb9a679a0e1b32d18b67a2f5b0d43f5dd (diff)
Allow spaces in multilinks
Diffstat (limited to 'src')
-rw-r--r--src/client/Main.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Main.hx b/src/client/Main.hx
index f8579b1..5ee14d6 100644
--- a/src/client/Main.hx
+++ b/src/client/Main.hx
@@ -192,7 +192,7 @@ class Main {
mediaUrl.value = "";
settings.latestLinks.push(url);
Settings.write(settings);
- final url = ~/,(https?)/g.replace(url, "|$1");
+ final url = ~/, ?(https?)/g.replace(url, "|$1");
final links = url.split("|");
handleUrlMasks(links);
// if videos added as next, we need to load them in reverse order
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage