gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] branch master updated: nicer HTML


From: gnunet
Subject: [taler-merchant] branch master updated: nicer HTML
Date: Wed, 29 Jul 2020 15:48:26 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 247590e  nicer HTML
247590e is described below

commit 247590e484a87e4fe0362a24f6fc8488dedee6af
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Jul 29 15:48:24 2020 +0200

    nicer HTML
---
 src/backend/taler-merchant-httpd_get-orders-ID.c | 6 +++---
 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
index d906b89..a60b200 100644
--- 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);
 }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]