diff --git a/src/nodes/html.ts b/src/nodes/html.ts
index fc5f06d..49d523c 100644
--- a/src/nodes/html.ts
+++ b/src/nodes/html.ts
@@ -171,7 +171,7 @@ export default class HTMLElement extends Node {
public constructor(
tagName: string,
keyAttrs: KeyAttributes,
- private rawAttrs = '',
+ public rawAttrs = '',
parentNode: HTMLElement | null,
range?: [number, number]
) {