Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

oven bundler: escape \n in boot fallback string

In a template literal '\n' becomes a literal LF, breaking the emitted
single-quoted JS string in the boot module's catch handler. Use \\n so
the bundle contains the two-character escape \n.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

+1 -1
+1 -1
oven/bundler.mjs
··· 2115 2115 await import(window.VFS_BLOB_URLS['boot.mjs']); 2116 2116 } catch (err) { 2117 2117 document.body.style.cssText='color:#fff;background:#400;padding:20px;font:12px monospace;white-space:pre-wrap'; 2118 - document.body.textContent='Boot failed: '+err.message+'\n'+(err.stack||''); 2118 + document.body.textContent='Boot failed: '+err.message+'\\n'+(err.stack||''); 2119 2119 try { if (window.max && window.max.outlet) window.max.outlet('error', '[boot] ' + err.message + ' :: ' + (err.stack || '')); } catch(_){} 2120 2120 } 2121 2121 </script>