From e6a04f57c9cc6f8bd3b2a90fd561206d94badda1 Mon Sep 17 00:00:00 2001 From: frankpagan Date: Thu, 22 Aug 2024 10:39:33 -0400 Subject: [PATCH] TODO: encode and decode needs a method to prevent multiple encode of an already encoded value --- src/getValue.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/getValue.js b/src/getValue.js index 136456b..e9d0735 100644 --- a/src/getValue.js +++ b/src/getValue.js @@ -285,6 +285,7 @@ const getValue = (element) => { console.error('getValue() error:', error, element); } + // TODO: encode and decode needs a method to prevent multiple encode of an already encoded value let encode = element.getAttribute('value-encode') if (encode) value = encodeValue(value, encode)