I am having an issue with the PDF invoice.
We sell cloths and I use " as an abbreviation for inch, when I print the invoice instead of 36" for example I get 36"
I am guessing I need to use htmlspecialchars_decode but where do I add it?
Thanks
I am sure there is a better way of doing it but I change the line under custom options in DefaultInvoice.php
/vendor/magento/module-sales/Model/Order/Pdf/Items/Invoice
$lines[][] = ['text' => $this->string->split(htmlspecialchars_decode($value), 50, true, true), 'feed' => 60];
That's the issue that likely to happen when the errors with crafting the PDF from the big amount of data are taking place. It's also hard to define how big this amount shall be to cause such a thing yet it is. You may try to fix it manually with some editor of PDF documents, like Acrobat Pro or, speaking of cheaper ones, this https://form-cd-401s.pdffiller.com/ I'm not sure would it be convenient if this issue of yours is happening with every invoice document but for resolving per unit it will come in use for sure