From 0b344a9c8cf1300fabdaba1c2e59bfd4dd670db2 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 30 Jan 2010 20:40:30 -0800 Subject: [PATCH] html: Delete redundant code. This code was part of an earlier attempt at CSS styling for HTML output. It does nothing useful, so remove it. --- src/output/html.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/output/html.c b/src/output/html.c index 57d77a76..3f9c177b 100644 --- a/src/output/html.c +++ b/src/output/html.c @@ -439,23 +439,6 @@ html_output_table (struct html_driver *html, struct table_item *item) if (n_borders > 0) fputs ("\"", html->file); - if (top > TAL_GAP || bottom > TAL_GAP - || left > TAL_GAP || right > TAL_GAP) - { - fputs (" STYLE=\"", html->file); - if (top > TAL_GAP) - fprintf (html->file, "border-top: %s", - top == TAL_1 ? "thin solid" : "double"); - - if (top > TAL_GAP && left > TAL_GAP) - fputs ("; ", html->file); - - if (left > TAL_GAP) - fprintf (html->file, "border-left: %s", - left == TAL_1 ? "thin solid" : "double"); - fputs ("\"", html->file); - } - putc ('>', html->file); /* Output cell contents. */ -- 2.30.2