Open cyberpunx opened 4 months ago
It is a possible problem if there are some complicated elements in your docx file because it's impossible for me to test every situation. You can delete a few elements in that file and run this code again to find out where the problem really coming from. Then you can fix it or put more detail to this issue to certain it.
Ok, that makes sense. After what you said, I tried a simplier docx and had no issue, so definitely is something in my original docx, which is fairly complicated... it has tables, differente footers, headers, images and what not. I'll inform if I found the conflicting element. Ty for your answer!
I'm not sure of what's happening here. I have a perfectly functioning .docx as input file. But after parse it (didn't mody a thing) and write it as new file.. the output file gets corrupted)
and somwhere in my main.go
when I try to open copy.docx in Word, I cannot because of corrupted file.