Permalink
Browse files

Bug 766787 - HTML Tables with 10+ columns are broken for LaTeX based …

…output

Added {} around number of columns (was present for tabularx but not for longtabu tables)
  • Loading branch information...
albert-github committed May 23, 2016
1 parent f96cb4b commit 61919f5483c717370742f2d238dcac88695d1990
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/latexdocvisitor.cpp
View
@@ -908,7 +908,7 @@ static void writeStartTableCommand(FTextStream &t,const DocNode *n,int cols)
}
else
{
t << "\\tabulinesep=1mm\n\\begin{longtabu} spread 0pt [c]{*" << cols << "{|X[-1]}|}\n";
t << "\\tabulinesep=1mm\n\\begin{longtabu} spread 0pt [c]{*{" << cols << "}{|X[-1]}|}\n";
}
//return isNested ? "TabularNC" : "TabularC";
}

0 comments on commit 61919f5

Please sign in to comment.