]> git.lyx.org Git - features.git/commitdiff
Fix multicolumn output.
authorRichard Heck <rgheck@comcast.net>
Mon, 14 Dec 2009 15:44:49 +0000 (15:44 +0000)
committerRichard Heck <rgheck@comcast.net>
Mon, 14 Dec 2009 15:44:49 +0000 (15:44 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32526 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetTabular.cpp

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