Remove automatic skooma attribute hyphenation
This commit is contained in:
parent
a1677b151f
commit
f0b56c074c
1 changed files with 1 additions and 1 deletions
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in a new issue