Skip to content

Commit

Permalink
Bug 766787 - HTML Tables with 10+ columns are broken for LaTeX based …
Browse files Browse the repository at this point in the history
…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 61919f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/latexdocvisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down

0 comments on commit 61919f5

Please sign in to comment.