From e8b4514a1cdb8cbdbafd3bea4e9c9111513394f5 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 4 May 2004 23:17:43 +0000 Subject: para_Title was confusing the XHTML backend and preventing it from printing preambles. Not quite sure how I missed that one! [originally from svn r4201] --- bk_xhtml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bk_xhtml.c b/bk_xhtml.c index 4d5069a..5d8e812 100644 --- a/bk_xhtml.c +++ b/bk_xhtml.c @@ -1173,7 +1173,7 @@ static void xhtml_do_paras(FILE *fp, paragraph *p, paragraph *end, return; /* for (; p && (xhtml_para_level(p)>limit || xhtml_para_level(p)==-1 || first); p=p->next) {*/ - for (; p && p != end && (xhtml_para_level(p)==-1 || first); p=p->next) { + for (; p && p != end && (xhtml_para_level(p)<=0 || first); p=p->next) { first=FALSE; switch (ptype = p->type) { -- cgit v1.1