From 7162995ad97cdf982db73d488641974e1894e2d9 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 4 Jul 2011 09:42:38 +0000 Subject: The bufcat() function in -T[x]html was eating one byte off the end of its concatenated string. This for some reason hasn't been found before now... ? Anyway, fixed, and make the IDs created again be correctly prefixed by a letter as per the HTML spec. --- html.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index 45471fe3..ab096b4d 100644 --- a/html.c +++ b/html.c @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.147 2011/05/24 21:40:14 kristaps Exp $ */ +/* $Id: html.c,v 1.148 2011/07/04 09:42:38 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2011 Ingo Schwarze @@ -595,7 +595,6 @@ bufcat(struct html *h, const char *p) h->buflen = strlcat(h->buf, p, BUFSIZ); assert(h->buflen < BUFSIZ); - h->buflen--; } void -- cgit v1.2.3-56-ge451