diff options
| author | Simon Tatham <anakin@pobox.com> | 2004-05-04 23:17:43 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2004-05-04 23:17:43 +0000 |
| commit | e8b4514a1cdb8cbdbafd3bea4e9c9111513394f5 (patch) | |
| tree | a7afece3bcd3bdc46232d10fa27d795252fd363b /bk_xhtml.c | |
| parent | 9c877111685049b40c322cdc49d239eb39795dd9 (diff) | |
| download | halibut-e8b4514a1cdb8cbdbafd3bea4e9c9111513394f5.zip halibut-e8b4514a1cdb8cbdbafd3bea4e9c9111513394f5.tar.gz halibut-e8b4514a1cdb8cbdbafd3bea4e9c9111513394f5.tar.bz2 halibut-e8b4514a1cdb8cbdbafd3bea4e9c9111513394f5.tar.xz | |
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]
Diffstat (limited to 'bk_xhtml.c')
| -rw-r--r-- | bk_xhtml.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |