phroxy

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

commit 4cada0047ecac4c3ff54330b031574ec26700a29
parent c0fb38b06388606d2e946528858a523b0cd0a280
Author: Willy Goiffon <dev@z3bra.org>
Date:   Thu, 24 Sep 2020 10:31:05 +0200

Simplify HTML tags used in menus

Diffstat:
Mphroxy.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

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