Merge remote-tracking branch 'origin/dev'

This commit is contained in:
Tinglyyy
2026-03-02 17:43:16 +01:00

View File

@@ -46,6 +46,10 @@ public abstract class WebPage {
this.document = documentBuilder.newDocument(); this.document = documentBuilder.newDocument();
this.head = (HTMLHeadElement) this.document.createElement("head"); this.head = (HTMLHeadElement) this.document.createElement("head");
this.body = (HTMLBodyElement) this.document.createElement("body"); this.body = (HTMLBodyElement) this.document.createElement("body");
this.document.appendChild(this.head);
this.document.appendChild(this.body);
} }
/** /**