diff options
Diffstat (limited to 'src/util/html.js')
-rw-r--r-- | src/util/html.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/util/html.js b/src/util/html.js index f2456565..2468b8db 100644 --- a/src/util/html.js +++ b/src/util/html.js @@ -475,14 +475,6 @@ export class Attributes { throw new Error(`Attribute value for ${key} should be primitive or array, got ${typeof val}`); }) .filter(([_key, _val, keep]) => keep) - .map(([key, val]) => { - switch (key) { - case 'href': - return [key, encodeURI(val)]; - default: - return [key, val]; - } - }) .map(([key, val]) => typeof val === 'boolean' ? `${key}` |