From 8731689d41a96bc6bc954781388b56acc9b1619a Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 20 Jun 2016 10:21:22 -0400 Subject: [PATCH] Fix bug #10153: There's a mechanism in XHTML output that defers the output of tags until we know they're needed. In the case of HTML tables, empty cells should of course be output, so we need to force the tags to be output. (cherry picked from commit 35d449c5dae11bbff53e2a35697a4fc3f03318ba) --- src/insets/InsetTabular.cpp | 2 +- status.22x | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index ac63676369..3c7f2c2ba1 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -3019,7 +3019,7 @@ docstring Tabular::xhtmlRow(XHTMLStream & xs, row_type row, else if (isMultiRow(cell)) attr << " rowspan='" << rowSpan(cell) << "'"; - xs << html::StartTag(celltag, attr.str()) << html::CR(); + xs << html::StartTag(celltag, attr.str(), true) << html::CR(); ret += cellInset(cell)->xhtml(xs, runparams); xs << html::EndTag(celltag) << html::CR(); ++cell; diff --git a/status.22x b/status.22x index c3eb7d71e3..90ed5f1cd4 100644 --- a/status.22x +++ b/status.22x @@ -69,6 +69,8 @@ What's new - Resolve problem on Windows with importing files from directories with accented characters on FAT drives (bug 10218). +- Make sure we output all XHTML table cells, even the empty ones (bug 10153). + * LYX2LYX -- 2.39.5