Remove automatic skooma attribute hyphenation
This commit is contained in:
parent
be31d1fd44
commit
544e18f9b8
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ const parseArgs = (element, args) => {
|
|||
parseArgs(element, arg)
|
||||
else
|
||||
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) => {
|
||||
|
|
Loading…
Reference in a new issue