diff options
| author | Adam Soltys <[email protected]> | 2013-03-07 09:57:26 +0400 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2013-03-07 09:57:26 +0400 |
| commit | fb1155434cc3dd9f47bf4150a298f86099eeff44 (patch) | |
| tree | a702c657ca2455653ebb24458a6ed04996d726eb | |
| parent | 694a202407407566b4645b4044ee7530c6887990 (diff) | |
| download | coinos-server-fb1155434cc3dd9f47bf4150a298f86099eeff44.tar.gz coinos-server-fb1155434cc3dd9f47bf4150a298f86099eeff44.zip | |
fixed parsing
| -rw-r--r-- | public/js/deposit.coffee | 2 | ||||
| -rw-r--r-- | views/main/deposit.html | 2 |
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> |
