diff --git a/server/go/camlistored/ui/disco.html b/server/go/camlistored/ui/disco.html index ce293731d..1c84d9c55 100644 --- a/server/go/camlistored/ui/disco.html +++ b/server/go/camlistored/ui/disco.html @@ -16,7 +16,7 @@ function discover() { return; } disco = JSON.parse(xhr.responseText); - document.getElementById("discores").innerHTML = JSON.stringify(disco); + document.getElementById("discores").innerHTML = "
" + JSON.stringify(disco, null, 2) + "
"; }; xhr.open("GET", "./?camli.mode=config", true); xhr.send(); diff --git a/server/go/camlistored/ui/sigdebug.js b/server/go/camlistored/ui/sigdebug.js index fab3a5232..fa6597e65 100644 --- a/server/go/camlistored/ui/sigdebug.js +++ b/server/go/camlistored/ui/sigdebug.js @@ -9,7 +9,7 @@ function discoverJsonSign() { return; } sigdisco = JSON.parse(xhr.responseText); - document.getElementById("sigdiscores").innerHTML = JSON.stringify(sigdisco); + document.getElementById("sigdiscores").innerHTML = "
" + JSON.stringify(sigdisco, null, 2) + "
"; }; xhr.open("GET", disco.jsonSignRoot + "/camli/sig/discovery", true); xhr.send();