class_name Main extends Control @onready var website_container: Control = %WebsiteContainer @onready var tab_container: TabManager = $VBoxContainer/TabContainer const LOADER_CIRCLE = preload("res://Assets/Icons/loader-circle.svg") const P = preload("res://Scenes/Tags/p.tscn") const IMG = preload("res://Scenes/Tags/img.tscn") const SEPARATOR = preload("res://Scenes/Tags/separator.tscn") const PRE = preload("res://Scenes/Tags/pre.tscn") const BR = preload("res://Scenes/Tags/br.tscn") const SPAN = preload("res://Scenes/Tags/span.tscn") const H1 = preload("res://Scenes/Tags/h1.tscn") const H2 = preload("res://Scenes/Tags/h2.tscn") const H3 = preload("res://Scenes/Tags/h3.tscn") const H4 = preload("res://Scenes/Tags/h4.tscn") const H5 = preload("res://Scenes/Tags/h5.tscn") const H6 = preload("res://Scenes/Tags/h6.tscn") const FORM = preload("res://Scenes/Tags/form.tscn") const INPUT = preload("res://Scenes/Tags/input.tscn") const BUTTON = preload("res://Scenes/Tags/button.tscn") const UL = preload("res://Scenes/Tags/ul.tscn") const OL = preload("res://Scenes/Tags/ol.tscn") const LI = preload("res://Scenes/Tags/li.tscn") const MIN_SIZE = Vector2i(750, 200) func _ready(): ProjectSettings.set_setting("display/window/size/min_width", MIN_SIZE.x) ProjectSettings.set_setting("display/window/size/min_height", MIN_SIZE.y) DisplayServer.window_set_min_size(MIN_SIZE) func render(): # Clear existing content for child in website_container.get_children(): child.queue_free() var html_bytes = "