Remove automatic skooma attribute hyphenation

This commit is contained in:
Talia 2021-05-22 18:34:17 +02:00
parent a1677b151f
commit f0b56c074c
Signed by: darkwiiplayer
GPG key ID: 7808674088232B3E

View file

@ -18,7 +18,7 @@ const parseArgs = (element, args) => {
parseArgs(element, arg) parseArgs(element, arg)
else else
for (let key in arg) for (let key in arg)
element.setAttribute(key.replace(/([a-z])([A-Z])/g, "$1-$2"), parseAttribute(arg[key])) element.setAttribute(key, parseAttribute(arg[key]))
} }
const node = (name, args, xmlns) => { const node = (name, args, xmlns) => {