merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 9bbd604c5ce1460cf0ac13ac6f0505d400191194
parent 247590e484a87e4fe0362a24f6fc8488dedee6af
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 29 Jul 2020 15:49:27 +0200

perfectionist HTML

Diffstat:
Msrc/backend/taler-merchant-httpd_get-orders-ID.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_get-orders-ID.c b/src/backend/taler-merchant-httpd_get-orders-ID.c @@ -552,9 +552,11 @@ create_qrcode (const char *uri) QRinput_free (qri); /* FIXME-Dold: generate <img> with inline SVG instead of <pre> here! */ GNUNET_buffer_write_str (&buf, - "<pre><br>\n<br>\n<br>\n<br>\n "); + "<pre><br>\n<br>\n<br>\n<br>\n"); for (unsigned int y = 0; y<qrc->width; y++) { + GNUNET_buffer_write_str (&buf, + " "); for (unsigned int x = 0; x<qrc->width; x++) { unsigned int off = x + y * qrc->width; @@ -563,7 +565,7 @@ create_qrcode (const char *uri) (0 != (qrc->data[off] & 1)) ? "██" : " "); } GNUNET_buffer_write_str (&buf, - "<br> \n "); + " <br>\n"); } GNUNET_buffer_write_str (&buf, "<br>\n<br>\n<br>\n<br>\n</pre>");