pqzx / html2docx

Convert html to docx
MIT License
69 stars 49 forks source link

Handle img tag without src attribute #63

Open johnjor opened 11 months ago

johnjor commented 11 months ago

Fix for KeyError 'src' when encountering an img tag without a src attribute. Instead, it adds a paragraph with a placeholder, which is consistent with the other failure modes of this method. Added a test for this case.