Skip to content

Commit 9e9ad40

Browse files
committed
html: fix bad content check in chunkwrap setter
1 parent a7c4019 commit 9e9ad40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/html.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ export class Tag {
557557
this.#setAttributeFlag(chunkwrap, value);
558558

559559
try {
560-
this.content = content;
560+
this.content = this.content;
561561
} catch (error) {
562562
this.#setAttributeFlag(chunkwrap, false);
563563
throw error;

0 commit comments

Comments
 (0)