From: Richard Heck Date: Mon, 20 Jun 2016 14:21:22 +0000 (-0400) Subject: Fix bug #10153: There's a mechanism in XHTML output that defers the X-Git-Tag: 2.3.0alpha1~1422 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=35d449c5dae11bbff53e2a35697a4fc3f03318ba;p=features.git 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. --- diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index b5344df2a4..7ad86633da 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -3018,7 +3018,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;