From 05e6080ddad91ac96bb5921e77b2ff78648ff275 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Thu, 13 Feb 2020 00:05:49 +0000 Subject: replace newlines --- dist/callback.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dist/callback.html') diff --git a/dist/callback.html b/dist/callback.html index eaf689b..cb49d45 100644 --- a/dist/callback.html +++ b/dist/callback.html @@ -45,7 +45,7 @@ function match_users() { throw new Error(`HTTP error! status: ${response.status}`); } response.text().then(function(message) { - document.getElementById("output").innerHTML = message; + document.getElementById("output").innerHTML = message.replace(/\n/g, '
\n'); }); }); } -- cgit v1.2.3-70-g09d2