From f583c2fd9a6bffc14c28823b606adf9650f1c41f Mon Sep 17 00:00:00 2001 From: osmarks Date: Sun, 26 Jan 2025 21:18:46 +0000 Subject: [PATCH] I will assassinate the JavaScript standards committee(s). --- src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index d818fe1..ade9c5c 100644 --- a/src/index.js +++ b/src/index.js @@ -106,7 +106,8 @@ const renderContainer = (tokens, idx) => { if (wasInQuotes) { options[k] += " " + arg } else { - [k, v] = arg.split("=", 2) + [k, ...vs] = arg.split("=") + v = vs.join("=") if (v && v[0] == '"') { inQuotes = true v = v.slice(1)