Open mbertucci47 opened 2 months ago
good catch. Could you try with this? I think it should handle most cases of "weird" ends:
\DocumentMetadata
{
lang=en-US,
pdfversion=2.0,
pdfstandard=ua-2,
testphase={phase-III,math,title,table,firstaid},
}
\documentclass{article}
\begin{document}
\ExplSyntaxOn
\socket_set_plug:nnn{tagsupport/tbl/pcell/end}{TDpbox}
{
\tag_struct_end:
\legacy_if:nT {@endpe}{\par}
\mode_if_vertical:T{ \tagpdfparaOff }
}
\ExplSyntaxOff
\begin{tabular}{p{2cm}p{2cm}}
A \par & B \\
\end{tabular}
\begin{tabular}{p{2cm}p{2cm}}
A & \\
\end{tabular}
\begin{tabular}{p{2cm}p{2cm}}
A & B\\
& D\\
\begin{itemize}
\item blb
\end{itemize}
\end{tabular}
\end{document}
Looks good to me. Thanks for the quick fix!
An empty cell in a
p
-type column produces parent-child warnings. Example: