Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 8c0ea43

Browse files
committed
[FIX] Attributes: remove the set value in a getter method.
1 parent d17a8f6 commit 8c0ea43

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/plugin-xml/src/Attributes.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ export class Attributes extends Modifier {
101101
if (this.classList.length && !keys.includes('class')) {
102102
// The node was not parsed with a class attribute, add it in place.
103103
// Use `get` for its value but record its position in the record.
104-
this._record.class = null;
105104
keys.push('class');
106105
}
107106
if (this.style.length && !keys.includes('style')) {

0 commit comments

Comments
 (0)