2bd5d0cafb
Now we also handle the case where they're embedded in other elements, e.g. spans. Closes #7272.
400 B
400 B
% pandoc -t latex -f html
<table>
<tbody>
<tr>
<td>
<span>
text
<br />
text2
</span>
</td>
</tr>
</tbody>
</table>
^D
\begin{longtable}[]{@{}
>{\raggedright\arraybackslash}p{(\columnwidth - 0\tabcolsep) * \real{1.00}}@{}}
\toprule
\endhead
{\vtop{\hbox{\strut text}\hbox{\strut text2 }}} \\
\bottomrule
\end{longtable}