Fix multicolumn output.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32526 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-12-14 15:44:49 +00:00
parent 93c121cfaa
commit 5f04bedb1c

View File

@ -2672,7 +2672,7 @@ docstring Tabular::xhtmlRow(XHTMLStream & xs, row_type row,
attr << "'"; attr << "'";
if (isMultiColumn(cell)) if (isMultiColumn(cell))
attr << " colspan='" << j + columnSpan(cell) - 1<< "'"; attr << " colspan='" << columnSpan(cell) << "'";
xs << StartTag("td", attr.str()); xs << StartTag("td", attr.str());
ret += cellInset(cell)->xhtml(xs, runparams); ret += cellInset(cell)->xhtml(xs, runparams);