diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-04-12 12:34:33 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-04-12 12:34:33 +0000 |
commit | 5266539f92ab85fee1e743184c6184810b8eed07 (patch) | |
tree | 1fad8e14cedcb6800da548658271036c7079f6e7 /content | |
parent | 387c85ae0b76fc32e23569bf5c5f452e9dd24c43 (diff) | |
download | netsurf-5266539f92ab85fee1e743184c6184810b8eed07.tar.gz netsurf-5266539f92ab85fee1e743184c6184810b8eed07.tar.bz2 |
Make more readable and fix use double quotes for href attribute value.
svn path=/trunk/netsurf/; revision=13852
Diffstat (limited to 'content')
-rw-r--r-- | content/fetchers/about.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/content/fetchers/about.c b/content/fetchers/about.c index 78a1507f6..f4308c3ef 100644 --- a/content/fetchers/about.c +++ b/content/fetchers/about.c @@ -241,18 +241,28 @@ static bool fetch_about_imagecache_handler(struct fetch_about_context *ctx) /* image cache entry table */ slen = snprintf(buffer, sizeof buffer, "<table class=\"imagecachelist\">\n" - "<tr><th>Entry</th>" + "<tr>" + "<th>Entry</th>" "<th>Content Key</th>" "<th>Redraw Count</th>" "<th>Conversion Count</th>" "<th>Last Redraw</th>" "<th>Bitmap Age</th>" "<th>Bitmap Size</th>" - "<th>Source URL</th></tr>\n"); + "<th>Source URL</th>" + "</tr>\n"); do { res = image_cache_snentryf(buffer + slen, sizeof buffer - slen, cent_loop, - "<tr><td>%e</td><td>%k</td><td>%r</td><td>%c</td><td>%a</td><td>%g</td><td>%s</td><td><a href='%U'>%U</a></td></tr>\n"); + "<tr><td>%e</td>" + "<td>%k</td>" + "<td>%r</td>" + "<td>%c</td>" + "<td>%a</td>" + "<td>%g</td>" + "<td>%s</td>" + "<td><a href=\"%U\">%U</a></td>" + "</tr>\n"); if (res <= 0) break; /* last option */ |