« get me outta code hell

html: fix bad content check in chunkwrap setter - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-11-15 18:50:17 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-11-15 18:50:17 -0400
commit9e9ad40859181e40857818b2c72d97b752ee7f27 (patch)
tree6576e84e64babbb04f8ccec345801187e83d89b5 /src
parenta7c40198735f2b2a3d74fa3c3ad0d1703c00342d (diff)
html: fix bad content check in chunkwrap setter
Diffstat (limited to 'src')
-rw-r--r--src/util/html.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/html.js b/src/util/html.js
index 0d667f6c..35703d4a 100644
--- a/src/util/html.js
+++ b/src/util/html.js
@@ -557,7 +557,7 @@ export class Tag {
     this.#setAttributeFlag(chunkwrap, value);
 
     try {
-      this.content = content;
+      this.content = this.content;
     } catch (error) {
       this.#setAttributeFlag(chunkwrap, false);
       throw error;