2023-10-15snippetElectron load string as HTMLwindow.loadURL('data:text/html;charset=UTF8,' + encodeURIComponent(htmlContent));