Fix bug introduced in latest version
This commit is contained in:
parent
d706e09da1
commit
0f2e596c54
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ const nop = object => object
|
||||||
const node = (name, args, options) => {
|
const node = (name, args, options) => {
|
||||||
let element
|
let element
|
||||||
let custom = getCustom(args)
|
let custom = getCustom(args)
|
||||||
|
if ("nameFilter" in options) name = options.nameFilter(name)
|
||||||
if (options.xmlns)
|
if (options.xmlns)
|
||||||
element = document.createElementNS(options.xmlns, name, {is: custom})
|
element = document.createElementNS(options.xmlns, name, {is: custom})
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue