mirror of
https://github.com/osmarks/website
synced 2025-07-07 04:22:50 +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) {
|
if (wasInQuotes) {
|
||||||
options[k] += " " + arg
|
options[k] += " " + arg
|
||||||
} else {
|
} else {
|
||||||
[k, v] = arg.split("=", 2)
|
[k, ...vs] = arg.split("=")
|
||||||
|
v = vs.join("=")
|
||||||
if (v && v[0] == '"') {
|
if (v && v[0] == '"') {
|
||||||
inQuotes = true
|
inQuotes = true
|
||||||
v = v.slice(1)
|
v = v.slice(1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user