HTML output driver: Correct typo
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 4 Jul 2020 11:18:08 +0000 (13:18 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 4 Jul 2020 11:18:08 +0000 (13:18 +0200)
VALIGN was incorrectly typed as ALIGN

src/output/html.c

index f96e70ccb474b4af5283f0609b45c6ed4a265e39..635ae5254ee6bece1dc591d21937870063aa6369 100644 (file)
@@ -526,7 +526,7 @@ html_output_table (struct html_driver *html, const struct table_item *item)
             }
 
           if (cell.style->cell_style.valign != TABLE_VALIGN_TOP)
-            fprintf (html->file, " ALIGN=\"%s\"",
+            fprintf (html->file, " VALIGN=\"%s\"",
                      (cell.style->cell_style.valign == TABLE_VALIGN_BOTTOM
                       ? "BOTTOM" : "MIDDLE"));