ruby-docx / docx

a ruby library/gem for interacting with .docx files
MIT License
439 stars 171 forks source link

Aligned images breaks the docx file #63

Closed echan00 closed 5 years ago

echan00 commented 5 years ago

After numerous testing of a document that won't open when saved with this gem, I've been able to pinpoint that a docx containing an aligned image will break after saving.

Here is an example docx with just one aligned image: www.docx

Here is the resulting docx when saved with this gem: www-broken.docx

chrahunt commented 5 years ago

Can you please provide the code that takes the example as input and generates the broken file?

echan00 commented 5 years ago

Sorry about this @chrahunt, after further debugging, I found that the issue not related to this gem.

Thank you again for supporting this gem, its very helpful