summaryrefslogtreecommitdiff
path: root/dist/callback.html
diff options
context:
space:
mode:
authorDennis Kobert <dennis@kobert.dev>2020-02-13 00:05:49 +0000
committerDennis Kobert <dennis@kobert.dev>2020-02-13 00:05:49 +0000
commit05e6080ddad91ac96bb5921e77b2ff78648ff275 (patch)
treed8fab14e451a1e51a5d00b63b408d2d4791258b8 /dist/callback.html
parente9d571ee25e953dddf20ea6048e194771a552cc0 (diff)
replace newlines
Diffstat (limited to 'dist/callback.html')
-rw-r--r--dist/callback.html2
1 files changed, 1 insertions, 1 deletions
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, '<br>\n');
});
});
}