diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-01-24 13:35:34 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-01-24 13:35:34 +0000 |
| commit | 4a48e5878f2ededa8bc33e620e26489bf911c5cb (patch) | |
| tree | b5ba12b97b40b212fd94f903a3fe9ce58cec05a5 /bk_html.c | |
| parent | af841edaccd5f251bc4f63ad3e6e2e735b660768 (diff) | |
| download | halibut-4a48e5878f2ededa8bc33e620e26489bf911c5cb.zip halibut-4a48e5878f2ededa8bc33e620e26489bf911c5cb.tar.gz halibut-4a48e5878f2ededa8bc33e620e26489bf911c5cb.tar.bz2 halibut-4a48e5878f2ededa8bc33e620e26489bf911c5cb.tar.xz | |
Shouldn't consider para_Title to be a heading when going through
sections looking for local configuration data.
[originally from svn r5196]
Diffstat (limited to 'bk_html.c')
| -rw-r--r-- | bk_html.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -834,7 +834,8 @@ void html_backend(paragraph *sourceform, keywordlist *keywords, for (s = sects.head; s; s = s->next) { if (s->file == f && s->text) { for (p = s->text; - p && (p == s->text || !is_heading_type(p->type)); + p && (p == s->text || p->type == para_Title || + !is_heading_type(p->type)); p = p->next) { if (p->type == para_Config) { if (!ustricmp(p->keyword, L"html-local-head")) { |