karnov / htmltoword

Ruby html to word gem
MIT License
177 stars 70 forks source link

Do not include images if dimensions are not specified #74

Closed anitsirc closed 6 years ago

anitsirc commented 6 years ago

Currently if the html has images without width and height specified, the document generation will fail.

This PR removes the image in order to be able to generate a document without the image, which was the default behaviour before enabling external images in https://github.com/karnov/htmltoword/pull/44