Hi @lmarco,
Are you maybe using the “Fluid Checkout for WooCommerce – PRO” plugin?
If so, please note that we have received a similar report from a customer in our premium support channel, and it turned out an issue introduced by this plugin, which override <p>
?tags with?<dd>
?tags from the default WooCommerce output for the HTML markup for the item meta.
That said, please try activating the following code snippet to restore the default output only in the PDF documents:
/**
* PDF Invoices & Packing Slips for WooCommerce:
* Replace <dd> with <p> in the item meta HTML markup if the "Fluid Checkout for WooCommerce - PRO" is activated.
*/
add_filter( 'wpo_wcpdf_html_filters', function( $filters ) {
$filters[] = array( 'woocommerce_display_item_meta', 'wpo_wcpdf_replace_dd_with_p_tags_item_meta', 9999, 3 );
return $filters;
} );
function wpo_wcpdf_replace_dd_with_p_tags_item_meta( $html, $item, $args ) {
if ( class_exists( 'FluidCheckout_PRO' ) ) {
$html = str_replace( '<dd>', '<p>', $html );
$html = str_replace( '</dd>', '</p>', $html );
}
return $html;
}
Let me know if it fixed the issue, or not!