Given this HTML:
react-pdf-html produces ab in the PDF, but it should produce a b.
I think is happening due to ltrim and rtrim calls in renderBucketElement (code).
I can work on a PR that removes those trims, but I'm sure they were placed there for a reason. Was it needed to support some other condition?