Skip to content

Commit e6a04f5

Browse files
committed
TODO: encode and decode needs a method to prevent multiple encode of an already encoded value
1 parent 4550990 commit e6a04f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/getValue.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ const getValue = (element) => {
285285
console.error('getValue() error:', error, element);
286286
}
287287

288+
// TODO: encode and decode needs a method to prevent multiple encode of an already encoded value
288289
let encode = element.getAttribute('value-encode')
289290
if (encode)
290291
value = encodeValue(value, encode)

0 commit comments

Comments
 (0)