summaryrefslogtreecommitdiff
path: root/src/devices/grohtml
diff options
context:
space:
mode:
authorwl <wl>2004-11-23 09:20:48 +0000
committerwl <wl>2004-11-23 09:20:48 +0000
commit0daa3b422387da6e37083b0070e99a4c6941d18a (patch)
treee82eabf43107809a7770e46771efa1ac0cf2b9cc /src/devices/grohtml
parent596ebc79acbd99929eb4bbd028c510af8c4fa4c1 (diff)
downloadgroff-0daa3b422387da6e37083b0070e99a4c6941d18a.tar.gz
* src/devices/grohtml/html-table.cpp
(html_table::emit_table_header): Don't emit `cols' attribute which doesn't exist in HTML 4.0 and is thus invalid.
Diffstat (limited to 'src/devices/grohtml')
-rw-r--r--src/devices/grohtml/html-table.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/devices/grohtml/html-table.cpp b/src/devices/grohtml/html-table.cpp
index 4a4e6b10..44ac964c 100644
--- a/src/devices/grohtml/html-table.cpp
+++ b/src/devices/grohtml/html-table.cpp
@@ -332,8 +332,6 @@ void html_table::emit_table_header (int space)
last_col = NULL;
if (linelength > 0) {
- int n = no_columns() + no_gaps();
-
out->nl();
out->nl();
@@ -345,9 +343,7 @@ void html_table::emit_table_header (int space)
start_space = space;
out->put_string("<table width=\"100%\"")
.put_string(" border=0 rules=\"none\" frame=\"void\"\n")
- .put_string(" cols=\"")
- .put_number(n)
- .put_string("\" cellspacing=\"0\" cellpadding=\"0\"")
+ .put_string(" cellspacing=\"0\" cellpadding=\"0\"")
.put_string(start_space ? " style=\"margin-top: 8px; margin-bottom: 8px\"" : "")
.put_string(">")
.nl();