From 9e9ad40859181e40857818b2c72d97b752ee7f27 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 15 Nov 2024 18:50:17 -0400 Subject: html: fix bad content check in chunkwrap setter --- src/util/html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit 1.3.0-6-gf8a5