phroxy

Gopher to HTTP proxy
git clone git://git.z3bra.org/phroxy.git
Log | Files | Refs | LICENSE

commit 2c74d506ef51934700306ade00e35cf380d35d30
parent 35ef9fd13d17108919826f1a39aa37d5f0493bfa
Author: Willy Goiffon <dev@z3bra.org>
Date:   Thu, 24 Sep 2020 10:41:12 +0200

Add whitespace inside comment <span>

This ensure that the line isn't discarded on HTML display.

Diffstat:
Mphroxy.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phroxy.c b/phroxy.c @@ -232,7 +232,7 @@ int printmenu(int fd, char *data) { char i, *p, a[LINE_MAX], *f[4]; - char *ifmt = "<div class='item'><span></span><code>%s</code></div>\n"; + char *ifmt = "<div class='item'><span> </span><code>%s</code></div>\n"; char *afmt = "<div class='item'><span>%s</span><a href='http://%s/%s:%s/%c%s'>%s</a></div>\n"; p = data;