From 8d3420cd3839364be7b0ff57e59001b2762a2bb9 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 28 Dec 2020 14:12:34 -0800 Subject: [PATCH] html: Implement rotated cells. --- src/output/html.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/output/html.c b/src/output/html.c index 7823767545..8c4c14a180 100644 --- a/src/output/html.c +++ b/src/output/html.c @@ -647,6 +647,9 @@ html_output_table (struct html_driver *html, const struct table_item *item) break; } + if (cell.options & TAB_ROTATE) + put_style (&style, "writing-mode", "sideways-lr"); + if (cell.style->cell_style.valign != TABLE_VALIGN_TOP) { put_style (&style, "vertical-align", -- 2.30.2