pandoc/test/command/7272.md
John MacFarlane 8eed5b90d0 LaTeX writer: add strut at end of minipage if it contains...
line breaks.  Without them, the last line is shorter
than it should be, at least in some cases.
2021-06-21 23:33:00 -07:00

433 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
\begin{minipage}[t]{\linewidth}\raggedright
{ text\\
text2 }\strut
\end{minipage} \\
\bottomrule
\end{longtable}