commit 247590e484a87e4fe0362a24f6fc8488dedee6af
parent c9aaad5fb787a339dab703331164e377b18b75fc
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 29 Jul 2020 15:48:24 +0200
nicer HTML
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_get-orders-ID.c b/src/backend/taler-merchant-httpd_get-orders-ID.c
@@ -552,7 +552,7 @@ 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><br><br><br><br> ");
+ "<pre><br>\n<br>\n<br>\n<br>\n ");
for (unsigned int y = 0; y<qrc->width; y++)
{
for (unsigned int x = 0; x<qrc->width; x++)
@@ -563,10 +563,10 @@ create_qrcode (const char *uri)
(0 != (qrc->data[off] & 1)) ? "██" : " ");
}
GNUNET_buffer_write_str (&buf,
- "<br> ");
+ "<br> \n ");
}
GNUNET_buffer_write_str (&buf,
- "<br><br><br><br></pre>");
+ "<br>\n<br>\n<br>\n<br>\n</pre>");
QRcode_free (qrc);
return GNUNET_buffer_reap_str (&buf);
}