From 027c22f013ad9014c463a169429180241cfcb939 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 5 Jul 2022 20:03:31 -0700 Subject: [PATCH] Wrap details in `` --- packages/backend/src/server/web/boot.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/backend/src/server/web/boot.js b/packages/backend/src/server/web/boot.js index 06da7cee1..9b2341a7a 100644 --- a/packages/backend/src/server/web/boot.js +++ b/packages/backend/src/server/web/boot.js @@ -147,7 +147,12 @@ errorsElement = document.getElementById('errors'); } const detailsElement = document.createElement('details'); - detailsElement.innerHTML = `
ERROR CODE: ${code}${JSON.stringify(details)}`; + detailsElement.innerHTML = ` +
+ + ERROR CODE: ${code} + + ${JSON.stringify(details)}`; errorsElement.appendChild(detailsElement); await addStyle(` * {