Pdf Box Content Node Transfer
so im working on a pdf accessiblity and doesnt have much knowledge about java, so ive ask chatgpt to make a code for pdfbox the script should delete all “Span” tags but retain its child (leaf node), but the code only works properly if Span’s child tag is not a leaf node, if it is a leaf node the child tag becomes blank, ill appreciate any insights regarding this, thaaaanks