X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fhtml.c;h=0b61486bd6e39200d2d371c31cd2e853a23ff39c;hb=01d6db8119ca4553d61841f2a9248712d4c6e0dc;hp=7cc2fecab7d2704b3acfed8d00cf20ac939aadb0;hpb=6068787ea557d3a6bb636d1d5b39c75eae30fd6f;p=pspp diff --git a/src/output/html.c b/src/output/html.c index 7cc2fecab7..0b61486bd6 100644 --- a/src/output/html.c +++ b/src/output/html.c @@ -480,10 +480,16 @@ html_output_table (struct html_driver *html, const struct table_item *item) fputs ("\n", html->file); const struct table_item_text *title = table_item_get_title (item); - if (title) + const struct table_item_text *layers = table_item_get_layers (item); + if (title || layers) { fputs (" ", html->file); - html_put_table_item_text (html, title); + if (title) + html_put_table_item_text (html, title); + if (title && layers) + fputs ("
\n", html->file); + if (layers) + html_put_table_item_text (html, layers); fputs ("\n", html->file); }