1
0
mirror of https://github.com/osmarks/website synced 2025-03-10 13:38:12 +00:00

I will assassinate the JavaScript standards committee(s).

This commit is contained in:
osmarks 2025-01-26 21:18:46 +00:00
parent 32268aaf28
commit f583c2fd9a

View File

@ -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)