Remove automatic skooma attribute hyphenation

This commit is contained in:
Talia 2021-05-22 18:34:17 +02:00
parent be31d1fd44
commit 544e18f9b8
No known key found for this signature in database
GPG key ID: AD727AD22802D0D6

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) => {