diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-29 15:49:27 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-29 15:49:27 +0200 |
commit | 9bbd604c5ce1460cf0ac13ac6f0505d400191194 (patch) | |
tree | ba4616432f0403bac6d5e23a02254387ad56d82e | |
parent | 247590e484a87e4fe0362a24f6fc8488dedee6af (diff) | |
download | merchant-9bbd604c5ce1460cf0ac13ac6f0505d400191194.tar.gz merchant-9bbd604c5ce1460cf0ac13ac6f0505d400191194.tar.bz2 merchant-9bbd604c5ce1460cf0ac13ac6f0505d400191194.zip |
perfectionist HTML
-rw-r--r-- | src/backend/taler-merchant-httpd_get-orders-ID.c | 6 |
1 files 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 index a60b2002..bbb085b7 100644 --- 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>"); |