From 544e18f9b8d098e978df0a004b4e453dbaf3ad47 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Sat, 22 May 2021 18:34:17 +0200 Subject: [PATCH] Remove automatic skooma attribute hyphenation --- skooma.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skooma.js b/skooma.js index 540c006..e9c4add 100644 --- a/skooma.js +++ b/skooma.js @@ -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) => {