pandoc/test/command/7272.md
John MacFarlane 2bd5d0cafb LaTeX writer: better handling of line breaks in simple tables.
Now we also handle the case where they're embedded in other
elements, e.g. spans. Closes #7272.
2021-05-11 07:52:05 -06:00

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}