mirror of
https://github.com/HeyPuter/puter.git
synced 2026-02-22 14:38:48 -06:00
Fix 86888h53w
This commit is contained in:
@@ -161,7 +161,11 @@ const generate_puter_page_html = ({
|
||||
<!-- Initialize GUI when document is loaded -->
|
||||
<script>
|
||||
window.addEventListener('load', function() {
|
||||
gui(${JSON.stringify(gui_params)});
|
||||
gui(${
|
||||
// TODO: override JSON.stringify to ALWAYS to this...
|
||||
// this should be an opt-OUT, not an opt-IN!
|
||||
JSON.stringify(gui_params).replace(/</g, '\\u003c')
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<div id="templates" style="display: none;"></div>
|
||||
|
||||
Reference in New Issue
Block a user