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 35d449c5da)
This commit is contained in:
Richard Heck 2016-06-20 10:21:22 -04:00
parent bfcd8a3991
commit 8731689d41
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -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