tSimplify HTML tags used in menus - phroxy - Gopher to HTTP proxy
(HTM) git clone git://git.z3bra.org/phroxy.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 4cada0047ecac4c3ff54330b031574ec26700a29
(DIR) parent c0fb38b06388606d2e946528858a523b0cd0a280
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Thu, 24 Sep 2020 10:31:05 +0200
Simplify HTML tags used in menus
Diffstat:
M phroxy.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/phroxy.c b/phroxy.c
t@@ -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;