para_Title was confusing the XHTML backend and preventing it from
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 4 May 2004 23:17:43 +0000 (23:17 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 4 May 2004 23:17:43 +0000 (23:17 +0000)
printing preambles. Not quite sure how I missed that one!

git-svn-id: svn://svn.tartarus.org/sgt/halibut@4201 cda61777-01e9-0310-a592-d414129be87e

bk_xhtml.c

index 4d5069a..5d8e812 100644 (file)
@@ -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)
     {