aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--public/js/deposit.coffee2
-rw-r--r--views/main/deposit.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/public/js/deposit.coffee b/public/js/deposit.coffee
index 209781cd..331d7975 100644
--- a/public/js/deposit.coffee
+++ b/public/js/deposit.coffee
@@ -51,7 +51,7 @@ setupSocket = ->
)
$.get("/issue/#{received}", (data) ->
- $('#received').html(data.replace(/\n/g, '<br />'))
+ $('#received').text(data)
)
fail = (msg) ->
diff --git a/views/main/deposit.html b/views/main/deposit.html
index 7f57ab93..35e59bfb 100644
--- a/views/main/deposit.html
+++ b/views/main/deposit.html
@@ -14,7 +14,7 @@
Send bitcoins to: 1VAnbtCAnYccECnjaMCPnWwt81EHCVgNr
- <p id="received">
+ <p id="received" style="white-space: pre-line">
<canvas id="qrcanv">No Canvas Support</canvas>
</p>
</div>