I am trying to generate a table with tablegenerator.com that looks like this(the latex commands should be processed by LaTex) 
The code which is produces by the site is:
\begin{table}[]
\centering
\begin{tabular}{|c|c|}
\hline
\multicolumn{1}{|l|}{\textbf{Channel}} & \textbf{Background sample name} \\ \hline
ggH & \begin{tabular}[c]{@{}c@{}}\textsf{mc15\_13TeV.341000.PowhegPythia8EvtGen\_CT10\_AZNLOCTEQ6L1\\ \_ggH125\_gamgam.merge.AOD.e3806\_s2984\_r8585\_r7676}\end{tabular} \\ \hline
VBF & \begin{tabular}[c]{@{}c@{}}\textsf{mc15\_13TeV.341001.PowhegPythia8EvtGen\_CT10\_AZNLOCTEQ6L1\\ \_VBFH125\_gamgam.merge.AOD.e3806\_s2608\_r7772\_r7676}\end{tabular} \\ \hline
ZH & \begin{tabular}[c]{@{}c@{}}\textsf{mc15\_13TeV.341068.Pythia8EvtGen\_A14NNPDF23LO\\ \_ZH125\_gamgam.merge.AOD.e3796\_s2608\_s2183\_r7772\_r7676}\end{tabular} \\ \hline
WH & \begin{tabular}[c]{@{}c@{}}\textsf{mc15\_13TeV.341067.Pythia8EvtGen\_A14NNPDF23LO\\ \_WH125\_gamgam.merge.AOD.e3796\_s2608\_s2183\_r7772\_r7676}\end{tabular} \\ \hline
ttH & \begin{tabular}[c]{@{}c@{}}\textsf{mc15\_13TeV:mc15\_13TeV.341081.aMcAtNloHerwigppEvtGen\_UEEE5\\ \_CTEQ6L1\_CT10ME\_ttH125\_gamgam.merge.AOD.e4277\_s2608\_s2183\_r7772\_r7676}\end{tabular} \\ \hline
\end{tabular}
\caption{My caption}
\label{my-label}
\end{table}
However, Latex complains when I insert it in my file with missing } and extra } errors. The problem seems only to occur when I make a new line inside of the row (because text is to large) Does anyone have an idea what causes this issue and how to solve it?
Cheers



\textsf{...Do you really want that verbatim latex command in the final result or do you want the result of that command, which would be a sans serif font selection? – David Carlisle Jun 20 '17 at 20:51