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:
parent
32268aaf28
commit
f583c2fd9a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user