From 159fc224d054a9d156f5a6a818fbd19f4548b5a2 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Wed, 18 Jun 2025 21:24:03 -0400 Subject: [PATCH] Fix line breaks for content --- src/index-master.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index-master.html b/src/index-master.html index 65e5e7c..a15909a 100644 --- a/src/index-master.html +++ b/src/index-master.html @@ -172,6 +172,7 @@ font-family: 'Courier New', Courier, monospace; font-size: 14px; line-height: 1.4; + white-space: pre-wrap; overflow: hidden; box-sizing: border-box; } @@ -443,7 +444,8 @@ document.getElementById('operation-title-2').innerText = config.headline; // Update the main content - document.getElementById('main-content').innerText = config.content; + document.getElementById('main-content').innerText = + config.content.replace(/\\n/g, '\n'); // Update the URL message document.querySelectorAll('.url-message').forEach(msg => {